diff options
-rw-r--r-- | src/opengl/qwindowsurface_gl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/opengl/qwindowsurface_gl.cpp b/src/opengl/qwindowsurface_gl.cpp index f5edce8..cfccda5 100644 --- a/src/opengl/qwindowsurface_gl.cpp +++ b/src/opengl/qwindowsurface_gl.cpp @@ -426,7 +426,8 @@ QGLWindowSurface::~QGLWindowSurface() if (!qt_gl_share_widget()->context()->isSharing()) qt_destroy_gl_share_widget(); } -#endif +#endif // QGL_USE_TEXTURE_POOL +#endif // Q_WS_QPA } void QGLWindowSurface::deleted(QObject *object) |