mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-16 01:08:56 +00:00
apply setting stencil attribute after setting display too, based on SDL docs
This commit is contained in:
parent
a9386d48dc
commit
7740b36f9a
@ -640,6 +640,9 @@ byte *OSystem_SDL::setupScreen(int screenW, int screenH, bool fullscreen, bool a
|
||||
if (_opengl) {
|
||||
int glflag;
|
||||
|
||||
// apply atribute again for sure based on SDL docs
|
||||
SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 8);
|
||||
|
||||
SDL_GL_GetAttribute(SDL_GL_RED_SIZE, &glflag);
|
||||
warning("INFO: GL RED bits: %d", glflag);
|
||||
SDL_GL_GetAttribute(SDL_GL_GREEN_SIZE, &glflag);
|
||||
|
Loading…
x
Reference in New Issue
Block a user