summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglframebufferobject.cpp
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-02-12 14:59:43 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-04-01 14:32:47 (GMT)
commite8f91c93de3599309d8fe11fd94318bfdc51d36c (patch)
tree2d5b25eec1293e6f1403e3f854a84534ed758ed3 /src/opengl/qglframebufferobject.cpp
parentd2aaca5abc5c2853081b50407fc8ee7756d9ddfa (diff)
downloadQt-e8f91c93de3599309d8fe11fd94318bfdc51d36c.zip
Qt-e8f91c93de3599309d8fe11fd94318bfdc51d36c.tar.gz
Qt-e8f91c93de3599309d8fe11fd94318bfdc51d36c.tar.bz2
Merge branch 'gl2text' of ..\qt-main
Diffstat (limited to 'src/opengl/qglframebufferobject.cpp')
-rw-r--r--src/opengl/qglframebufferobject.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/opengl/qglframebufferobject.cpp b/src/opengl/qglframebufferobject.cpp
index 8524dfa..9134fc6 100644
--- a/src/opengl/qglframebufferobject.cpp
+++ b/src/opengl/qglframebufferobject.cpp
@@ -43,7 +43,11 @@
#include <qdebug.h>
#include <private/qgl_p.h>
+#if 1 || defined(QT_OPENGL_ES_2)
+#include <private/qpaintengineex_opengl2_p.h>
+#else
#include <private/qpaintengine_opengl_p.h>
+#endif
#include <qglframebufferobject.h>
#include <qlibrary.h>
#include <qimage.h>
@@ -573,7 +577,9 @@ QImage QGLFramebufferObject::toImage() const
return image;
}
-#if !defined(QT_OPENGL_ES_2)
+#if 1 || defined(QT_OPENGL_ES_2)
+Q_GLOBAL_STATIC(QGL2PaintEngineEx, qt_buffer_paintengine)
+#else
Q_GLOBAL_STATIC(QOpenGLPaintEngine, qt_buffer_paintengine)
#endif