ALL: Avoid class names clashing with ScummVM classes

This commit is contained in:
Pawel Kolodziejski 2020-09-28 18:37:37 +02:00
parent 66add36769
commit a8b53f8f21
40 changed files with 228 additions and 228 deletions

View file

@ -319,7 +319,7 @@ void OSystem_SDL::detectFramebufferSupport() {
if (window) {
SDL_GLContext glContext = SDL_GL_CreateContext(window);
if (glContext) {
OpenGLContext.initialize(OpenGL::kContextGL);
OpenGLContext.initialize(OpenGL::kOGLContextGL);
_capabilities.openGLFrameBuffer = OpenGLContext.framebufferObjectSupported;
OpenGLContext.reset();
SDL_GL_DeleteContext(glContext);
@ -330,7 +330,7 @@ void OSystem_SDL::detectFramebufferSupport() {
SDL_putenv(const_cast<char *>("SDL_VIDEO_WINDOW_POS=9000,9000"));
SDL_SetVideoMode(32, 32, 0, SDL_OPENGL);
SDL_putenv(const_cast<char *>("SDL_VIDEO_WINDOW_POS=center"));
OpenGLContext.initialize(OpenGL::kContextGL);
OpenGLContext.initialize(OpenGL::kOGLContextGL);
_capabilities.openGLFrameBuffer = OpenGLContext.framebufferObjectSupported;
OpenGLContext.reset();
#endif