mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 01:25:33 -07:00
Remove other remnants of OpenGL ES support (#6213)
* Remove other remnants of OpenGL ES support * Force OpenGL surface format if possible
This commit is contained in:
@@ -814,10 +814,7 @@ OpenGLRenderer::OpenGLRenderer(QWidget *parent)
|
||||
format.setVersion(3, 2);
|
||||
#endif
|
||||
format.setProfile(QSurfaceFormat::OpenGLContextProfile::CoreProfile);
|
||||
|
||||
if (QOpenGLContext::openGLModuleType() == QOpenGLContext::LibGLES)
|
||||
format.setRenderableType(QSurfaceFormat::OpenGLES);
|
||||
|
||||
format.setRenderableType(QSurfaceFormat::OpenGL);
|
||||
format.setSwapInterval(video_vsync ? 1 : 0);
|
||||
|
||||
setFormat(format);
|
||||
|
||||
Reference in New Issue
Block a user