diff options
author | Gunnar Sletta <[email protected]> | 2015-03-24 07:58:39 +0100 |
---|---|---|
committer | Gunnar Sletta <[email protected]> | 2015-04-16 06:02:04 +0000 |
commit | 5870667929ac5f45805b1e1e656fec81b9b22337 (patch) | |
tree | 05a9e9f79359bc4d7a53d8ea45e37bcb5675c9bd | |
parent | b3cbdf39683eca1c2ac2b3f70c06f24a7deccb1a (diff) |
Fix regressed atlas texture log output. Broken since: a49b0ad786
Change-Id: I5df32609b45047666ea8bde500cf771736c396e5
Reviewed-by: Laszlo Agocs <[email protected]>
-rw-r--r-- | src/quick/scenegraph/util/qsgatlastexture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/scenegraph/util/qsgatlastexture.cpp b/src/quick/scenegraph/util/qsgatlastexture.cpp index 09418ecfd7..076b068f27 100644 --- a/src/quick/scenegraph/util/qsgatlastexture.cpp +++ b/src/quick/scenegraph/util/qsgatlastexture.cpp @@ -394,8 +394,8 @@ void Atlas::bind(QSGTexture::Filtering filtering) t->releaseImage(); qCDebug(QSG_LOG_TIME_TEXTURE).nospace() << "atlastexture uploaded in: " << qsg_renderer_timer.elapsed() - << "ms (" << m_pending_uploads.at(i)->image().width() << "x" - << m_pending_uploads.at(i)->image().height() << ")"; + << "ms (" << t->textureSize().width() << "x" + << t->textureSize().height() << ")"; // Skip mipmap; unused Q_QUICK_SG_PROFILE_RECORD(QQuickProfiler::SceneGraphTexturePrepare); |