summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_egl.cpp
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-03-11 15:43:03 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2010-03-11 15:43:03 (GMT)
commit5ccbd1a3fc856d6ccdcbf71657a8cd89f9af9173 (patch)
tree1f96ccc1e94b9052cd16eb1252812b7d28c334c3 /src/opengl/qgl_egl.cpp
parentfc0e0198c5e7ef75d1650bca39a5f06ebddfb932 (diff)
downloadQt-5ccbd1a3fc856d6ccdcbf71657a8cd89f9af9173.zip
Qt-5ccbd1a3fc856d6ccdcbf71657a8cd89f9af9173.tar.gz
Qt-5ccbd1a3fc856d6ccdcbf71657a8cd89f9af9173.tar.bz2
Remove debug output from qt_eglproperties_set_glformat
Reviewed-By: TrustMe
Diffstat (limited to 'src/opengl/qgl_egl.cpp')
-rw-r--r--src/opengl/qgl_egl.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/opengl/qgl_egl.cpp b/src/opengl/qgl_egl.cpp
index aa8d2bc..822c9f6 100644
--- a/src/opengl/qgl_egl.cpp
+++ b/src/opengl/qgl_egl.cpp
@@ -63,10 +63,8 @@ void qt_eglproperties_set_glformat(QEglProperties& eglProperties, const QGLForma
// QGLFormat uses a magic value of -1 to indicate "don't care", even when a buffer of that
// type has been requested. So we must check QGLFormat's booleans too if size is -1:
- if (glFormat.alpha() && alphaSize <= 0) {
- qDebug("QGLFormat::alpha() returned true");
+ if (glFormat.alpha() && alphaSize <= 0)
alphaSize = 1;
- }
if (glFormat.depth() && depthSize <= 0)
depthSize = 1;
if (glFormat.stencil() && stencilSize <= 0)