Qt: Allow use of OpenGL ES 2
Jeffrey Pfau jeffrey@endrift.com
Sun, 17 Jan 2016 01:25:26 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/platform/qt/DisplayGL.cpp
→
src/platform/qt/DisplayGL.cpp
@@ -188,7 +188,7 @@ GBAGLES2Context* gl2Backend;
#endif #if !defined(_WIN32) || defined(USE_EPOXY) - if (glVersion & QGLFormat::OpenGL_Version_3_0) { + if (glVersion & (QGLFormat::OpenGL_Version_3_0 | QGLFormat::OpenGL_ES_Version_2_0)) { gl2Backend = new GBAGLES2Context; GBAGLES2ContextCreate(gl2Backend); m_backend = &gl2Backend->d;