diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-09-11 04:53:00 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-09-11 04:53:00 (GMT) |
commit | f9243aac1e26ccf9f46cc1d7de5f57063a053211 (patch) | |
tree | 6c247457808672f3b7db1b67819f33cc724159db /src/opengl/qgl.cpp | |
parent | 88035568a9eb19fe92595eff6d5df1ecb493916d (diff) | |
download | Qt-f9243aac1e26ccf9f46cc1d7de5f57063a053211.zip Qt-f9243aac1e26ccf9f46cc1d7de5f57063a053211.tar.gz Qt-f9243aac1e26ccf9f46cc1d7de5f57063a053211.tar.bz2 |
Dump texture formats in hex, not decimal
Reviewed-by: trustme
Diffstat (limited to 'src/opengl/qgl.cpp')
-rw-r--r-- | src/opengl/qgl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp index bb20b6d..0e05b10 100644 --- a/src/opengl/qgl.cpp +++ b/src/opengl/qgl.cpp @@ -2183,8 +2183,8 @@ QGLTexture* QGLContextPrivate::bindTexture(const QImage &image, GLenum target, G } } #ifdef QGL_BIND_TEXTURE_DEBUG - printf(" - uploading, image.format=%d, externalFormat=0x%d, internalFormat=0x%d\n", - img.format(), externalFormat, internalFormat); + printf(" - uploading, image.format=%d, externalFormat=0x%x, internalFormat=0x%x, pixel_type=0x%x\n", + img.format(), externalFormat, internalFormat, pixel_type); #endif const QImage &constRef = img; // to avoid detach in bits()... |