diff options
author | Kai Koehne <[email protected]> | 2018-02-13 09:57:29 +0100 |
---|---|---|
committer | Kai Koehne <[email protected]> | 2018-02-13 13:37:15 +0000 |
commit | b733c37522abeb33f2e14f7a8fdefaf15acf42b5 (patch) | |
tree | 728403d52e9194ac4fbb81fa9942909f8cd1f3bd /src/quick/scenegraph/util/qsgatlastexture.cpp | |
parent | ff08272245c099cadd433c8b5d4f98301f5e585b (diff) |
ScenGraph: Prefer printf style logging
This generates more compact code, saving 20480 bytes on disk
(Linux 64 bit, release build).
Change-Id: I73d6d88b7b61b87a5d714e131fcf86ee80c83f38
Reviewed-by: Ulf Hermann <[email protected]>
Diffstat (limited to 'src/quick/scenegraph/util/qsgatlastexture.cpp')
-rw-r--r-- | src/quick/scenegraph/util/qsgatlastexture.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/quick/scenegraph/util/qsgatlastexture.cpp b/src/quick/scenegraph/util/qsgatlastexture.cpp index 9d37746fff..529cdaf070 100644 --- a/src/quick/scenegraph/util/qsgatlastexture.cpp +++ b/src/quick/scenegraph/util/qsgatlastexture.cpp @@ -501,9 +501,10 @@ void Atlas::uploadPendingTexture(int i) textureSize.height() > m_atlas_transient_image_threshold) t->releaseImage(); - qCDebug(QSG_LOG_TIME_TEXTURE).nospace() << "atlastexture uploaded in: " << qsg_renderer_timer.elapsed() - << "ms (" << t->textureSize().width() << "x" - << t->textureSize().height() << ")"; + qCDebug(QSG_LOG_TIME_TEXTURE, "atlastexture uploaded in: %lldms (%dx%d)", + qsg_renderer_timer.elapsed(), + t->textureSize().width(), + t->textureSize().height()); } TextureBase::TextureBase(AtlasBase *atlas, const QRect &textureRect) |