[Scummvm-git-logs] scummvm master -> 04b76bfbc4d34d54f6754643a3b3b183e0f19c8c

criezy noreply at scummvm.org
Mon Apr 4 00:52:53 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
04b76bfbc4 SDL: Fix compilation when USE_FORCED_GLES2 is defined


Commit: 04b76bfbc4d34d54f6754643a3b3b183e0f19c8c
    https://github.com/scummvm/scummvm/commit/04b76bfbc4d34d54f6754643a3b3b183e0f19c8c
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2022-04-04T01:52:20+01:00

Commit Message:
SDL: Fix compilation when USE_FORCED_GLES2 is defined

Changed paths:
    backends/platform/sdl/sdl.cpp


diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp
index a25e91587a7..8f01465d373 100644
--- a/backends/platform/sdl/sdl.cpp
+++ b/backends/platform/sdl/sdl.cpp
@@ -325,7 +325,7 @@ void OSystem_SDL::detectOpenGLFeaturesSupport() {
 	_supportsShaders = false;
 #if USE_FORCED_GLES2
 	// Framebuffers and shaders are always available with GLES2
-	_oglType = kOGLContextGLES2;
+	_oglType = OpenGL::kOGLContextGLES2;
 	_supportsFrameBuffer = true;
 	_supportsShaders = true;
 #elif !defined(AMIGAOS) && !defined(__MORPHOS__)




More information about the Scummvm-git-logs mailing list