summaryrefslogtreecommitdiff
path: root/tools/buildscripts/qtwebengine_utils.py
diff options
context:
space:
mode:
authorSiteshwar Vashisht <siteshwar@gmail.com>2015-12-18 16:45:59 +0530
committerSiteshwar Vashisht <siteshwar@gmail.com>2015-12-21 08:18:20 +0000
commit382a9de3ee83ef59f6f95cb5b478df84cbbd80b8 (patch)
tree13cc93d71b77d378d3d52a829c741ab5a7194934 /tools/buildscripts/qtwebengine_utils.py
parent8d2c46216fcb521c3e7a13cb627239db088a50c4 (diff)
downloadqtwebengine-382a9de3ee83ef59f6f95cb5b478df84cbbd80b8.tar.gz
Use QOpenGLContext::isOpenGLES() to check if OpenGL ES is enabled
QOpenGLContext::openGLModuleType() performs a general check whether OpenGL ES support is enabled or not. However it is possible that a specific OpenGL context does not have OpenGL ES support enabled even when QOpenGLContext::openGLModuleType() returns QOpenGLContext::LibGLES. In such situations QOpenGLContext::isOpenGLES() method is correct way to determine if the context is an OpenGL ES context. Task-number: QTBUG-50015 Change-Id: I319c2932a62027d3142040045a46cdcb12fcdebe Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'tools/buildscripts/qtwebengine_utils.py')
0 files changed, 0 insertions, 0 deletions