summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-02-09 13:55:24 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-02-09 14:44:05 (GMT)
commitcb742e70f0d2fb992d27045f6d3d9624bd10ced5 (patch)
tree1719d7b666a6f2ac598e2b7149d3af16b943b6e3 /src/opengl/qgl.cpp
parent69a0d3bdbfecdbf559aa6d0132281ad64b88fac8 (diff)
downloadQt-cb742e70f0d2fb992d27045f6d3d9624bd10ced5.zip
Qt-cb742e70f0d2fb992d27045f6d3d9624bd10ced5.tar.gz
Qt-cb742e70f0d2fb992d27045f6d3d9624bd10ced5.tar.bz2
Dont include EGL header when compiling with QT_NO_EGL
Diffstat (limited to 'src/opengl/qgl.cpp')
-rw-r--r--src/opengl/qgl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp
index 9f31c62..ffde515 100644
--- a/src/opengl/qgl.cpp
+++ b/src/opengl/qgl.cpp
@@ -97,7 +97,7 @@
#include "qlibrary.h"
#include <qmutex.h>
-#ifdef QT_OPENGL_ES
+#if defined(QT_OPENGL_ES) && !defined(QT_NO_EGL)
#include <EGL/egl.h>
#endif