diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2011-02-09 13:55:24 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-02-09 14:44:05 (GMT) |
commit | cb742e70f0d2fb992d27045f6d3d9624bd10ced5 (patch) | |
tree | 1719d7b666a6f2ac598e2b7149d3af16b943b6e3 /src/opengl/qgl.cpp | |
parent | 69a0d3bdbfecdbf559aa6d0132281ad64b88fac8 (diff) | |
download | Qt-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.cpp | 2 |
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 |