diff options
author | Trond Kjernåsen <trond.kjernasen@nokia.com> | 2010-07-08 13:19:04 (GMT) |
---|---|---|
committer | Trond Kjernåsen <trond.kjernasen@nokia.com> | 2010-07-08 13:19:04 (GMT) |
commit | 48469ecd3f2918d16ccfacb5d65f3a5e0bbfa8d8 (patch) | |
tree | 365536eb863759533bed508a20daad71cd70f045 /src/opengl | |
parent | ad957b76682dfddb2576154f56b5017680819eef (diff) | |
download | Qt-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.cpp | 2 |
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) |