summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorTrond Kjernåsen <trond.kjernasen@nokia.com>2010-07-08 13:19:04 (GMT)
committerTrond Kjernåsen <trond.kjernasen@nokia.com>2010-07-08 13:19:04 (GMT)
commit48469ecd3f2918d16ccfacb5d65f3a5e0bbfa8d8 (patch)
tree365536eb863759533bed508a20daad71cd70f045 /src/opengl
parentad957b76682dfddb2576154f56b5017680819eef (diff)
downloadQt-48469ecd3f2918d16ccfacb5d65f3a5e0bbfa8d8.zip
Qt-48469ecd3f2918d16ccfacb5d65f3a5e0bbfa8d8.tar.gz
Qt-48469ecd3f2918d16ccfacb5d65f3a5e0bbfa8d8.tar.bz2
The Q_WGL define was removed years ago.
The proper define should be Q_WS_WIN. Task-number: QTBUG-12040 Reviewed-by: Prasanth Reviewed-by: Eskil
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/qgl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp
index c294e4f..0521bab 100644
--- a/src/opengl/qgl.cpp
+++ b/src/opengl/qgl.cpp
@@ -3447,7 +3447,7 @@ QGLWidget::~QGLWidget()
bool doRelease = (glcx && glcx->windowCreated());
#endif
delete d->glcx;
-#if defined(Q_WGL)
+#if defined(Q_WS_WIN)
delete d->olcx;
#endif
#if defined(GLX_MESA_release_buffers) && defined(QGL_USE_MESA_EXT)