summaryrefslogtreecommitdiffstats
path: root/src/opengl/qwindowsurface_gl.cpp
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-10-26 03:09:05 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-10-26 03:09:26 (GMT)
commit35c8033ff51ab6d0567e786b790b8cc49852803b (patch)
tree37ae0ceb0eb9d4f74683b02bf3187cfd7f694c6c /src/opengl/qwindowsurface_gl.cpp
parentded1dbb7e898364dd1cd2b1b129673569805a786 (diff)
downloadQt-35c8033ff51ab6d0567e786b790b8cc49852803b.zip
Qt-35c8033ff51ab6d0567e786b790b8cc49852803b.tar.gz
Qt-35c8033ff51ab6d0567e786b790b8cc49852803b.tar.bz2
Suppress warnings in QtOpenGL code
Diffstat (limited to 'src/opengl/qwindowsurface_gl.cpp')
-rw-r--r--src/opengl/qwindowsurface_gl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qwindowsurface_gl.cpp b/src/opengl/qwindowsurface_gl.cpp
index 4547416..42e1c1e 100644
--- a/src/opengl/qwindowsurface_gl.cpp
+++ b/src/opengl/qwindowsurface_gl.cpp
@@ -364,7 +364,7 @@ void QGLWindowSurface::hijackWindow(QWidget *widget)
if (ctxpriv->eglSurface == EGL_NO_SURFACE) {
qWarning() << "hijackWindow() could not create EGL surface";
}
- qDebug("QGLWindowSurface - using EGLConfig %d", ctxpriv->eglContext->config());
+ qDebug("QGLWindowSurface - using EGLConfig %d", reinterpret_cast<int>(ctxpriv->eglContext->config()));
#endif
widgetPrivate->extraData()->glContext = ctx;