summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_p.h
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-10-15 04:34:46 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-10-15 05:52:59 (GMT)
commitf4ad1cc44e3a25d0089d39cdf16820d9fbb2e050 (patch)
tree1d28d064b23b6591a32cb55dcf55e229e77f0a72 /src/opengl/qgl_p.h
parente49d92f620313c0921ece291548a8a9c6a809586 (diff)
downloadQt-f4ad1cc44e3a25d0089d39cdf16820d9fbb2e050.zip
Qt-f4ad1cc44e3a25d0089d39cdf16820d9fbb2e050.tar.gz
Qt-f4ad1cc44e3a25d0089d39cdf16820d9fbb2e050.tar.bz2
Centralize all GL paint engine creations into qt_qgl_paint_engine()
The qt_qgl_paint_engine() function was being used by QWS, but there's no reason why it can't be used by other platforms too. This should also fix ES 2.0 paint engine support under QWS, which was stubbed out. Reviewed-by: Sarah Smith Reviewed-by: Gunnar
Diffstat (limited to 'src/opengl/qgl_p.h')
-rw-r--r--src/opengl/qgl_p.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h
index 8d4f673..129e7f7 100644
--- a/src/opengl/qgl_p.h
+++ b/src/opengl/qgl_p.h
@@ -505,9 +505,7 @@ private:
};
-#ifdef Q_WS_QWS
-extern QPaintEngine* qt_qgl_paint_engine();
-#endif
+extern Q_OPENGL_EXPORT QPaintEngine* qt_qgl_paint_engine();
bool qt_gl_preferGL2Engine();