diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-02-01 16:12:11 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-02-02 09:48:28 (GMT) |
commit | 186a9f967394d554ce99b8a3313cbc679b54c7c7 (patch) | |
tree | 68c19d4708bc099965a6978095f81a3fc1da74c0 /qmake/Makefile.win32-g++ | |
parent | 216b29f0c976405c718c7bb8e24699d368baac7e (diff) | |
download | Qt-186a9f967394d554ce99b8a3313cbc679b54c7c7.zip Qt-186a9f967394d554ce99b8a3313cbc679b54c7c7.tar.gz Qt-186a9f967394d554ce99b8a3313cbc679b54c7c7.tar.bz2 |
Fixed es2 configure when both EGL/egl.h and GLES/egl.h are present.
Change e0c2861976e06658a1d651941310407c15b0bcde fixed es1 configure by
only picking EGL/egl.h if GLES/egl.h is not found. This broke es2
configure on platforms where both EGL/egl.h and GLES/egl.h are present,
by picking GLES/egl.h instead of EGL/egl.h, which implicitly pulled in
the GLES/gl.h header as well, causing inconsistent declarations due to
both GLES2/gl2.h and GLES/gl.h getting included. Instead, we need to
prioritize depending on whether we're using es1 or es2. For es1, we
prefer GLES/egl.h, and for es2, we prefer EGL/egl.h. If only one of the
headers is found we still use it unconditionally, to preserve the
existing behaviour and minimize the risk of breaking other platforms.
Reviewed-by: Ritt Konstantin
Reviewed-by: Marius Storm-Olsen
Diffstat (limited to 'qmake/Makefile.win32-g++')
0 files changed, 0 insertions, 0 deletions