summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qopenglcontext.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-02-04 15:23:34 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2015-02-07 20:29:27 +0000
commitb8aeb4a256a6906f82255b7a60268870cca7dd00 (patch)
tree2a31ea4472f064f8b405df5c7b82f81a96872e27 /src/gui/kernel/qopenglcontext.cpp
parent773e33af43001fbc6a047ee83e4729e6ba227998 (diff)
Make mipmap levels and texture comparison work with GLES 3.0+
In ES-only builds (-opengl es2) we hit the QT_OPENGL_ES_2 path which disables all this. Not ideal since all the support is present in GLES 3.0. Therefore, stop relying on the ifdef and do runtime checks. This also needs defining the constants manually since they are not available in gl2.h and our own ES2 extension headers provide some of these with silly silly suffixes. Change-Id: I8ad7f5091a371bad1e3c6dc4898342a175016274 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/gui/kernel/qopenglcontext.cpp')
0 files changed, 0 insertions, 0 deletions