summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglpixelbuffer.cpp
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-06-09 00:54:37 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-06-09 00:54:37 (GMT)
commit1bbe23c5814dfda4cc6154c49e5bbf7c6ead7eba (patch)
treeb329314e78cadd712b17edb38c3f0f5753d9acd5 /src/opengl/qglpixelbuffer.cpp
parenta359abb4ccf5a2dc3bd1fac9836231677b3dc14f (diff)
downloadQt-1bbe23c5814dfda4cc6154c49e5bbf7c6ead7eba.zip
Qt-1bbe23c5814dfda4cc6154c49e5bbf7c6ead7eba.tar.gz
Qt-1bbe23c5814dfda4cc6154c49e5bbf7c6ead7eba.tar.bz2
Make OpenGL/ES 1.1 work again for Qt/Embedded
Reviewed-by: trustme
Diffstat (limited to 'src/opengl/qglpixelbuffer.cpp')
-rw-r--r--src/opengl/qglpixelbuffer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/opengl/qglpixelbuffer.cpp b/src/opengl/qglpixelbuffer.cpp
index 483856a..0af97e3 100644
--- a/src/opengl/qglpixelbuffer.cpp
+++ b/src/opengl/qglpixelbuffer.cpp
@@ -76,12 +76,13 @@
\sa {opengl/pbuffers}{Pbuffers Example}
*/
-#include <private/qpaintengineex_opengl2_p.h>
-
#include <qglpixelbuffer.h>
#include <private/qglpixelbuffer_p.h>
#include <qimage.h>
+#if !defined(QT_OPENGL_ES_1) && !defined(QT_OPENGL_ES_1_CL)
+#include <private/qpaintengineex_opengl2_p.h>
+#endif
#ifndef QT_OPENGL_ES_2
#include <private/qpaintengine_opengl_p.h>
#endif