summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2011-03-21 09:07:49 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-03-21 09:12:08 (GMT)
commita9b5cc1b3d6d5fb9569ad3bca9b5584b6415bfd6 (patch)
treeadf0f13f605ece30c73999debb5fd580c893ffa6
parent792305ed03bdff6d2aa5d7bf31a139d9ae453f4c (diff)
downloadQt-a9b5cc1b3d6d5fb9569ad3bca9b5584b6415bfd6.zip
Qt-a9b5cc1b3d6d5fb9569ad3bca9b5584b6415bfd6.tar.gz
Qt-a9b5cc1b3d6d5fb9569ad3bca9b5584b6415bfd6.tar.bz2
Compile fix for QPA
-rw-r--r--src/opengl/qwindowsurface_gl.cpp3
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)