all repos — mgba @ c18b9c3a64458dc7f6c0814a4b69b87c10eaefcc

mGBA Game Boy Advance Emulator

Qt: Allow use of OpenGL ES 2
Jeffrey Pfau jeffrey@endrift.com
Sun, 17 Jan 2016 01:25:26 -0800
commit

c18b9c3a64458dc7f6c0814a4b69b87c10eaefcc

parent

ce45f6ea3fc7c686cbf43d269bdf5f69e0bcf0f3

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/platform/qt/DisplayGL.cppsrc/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;