From bd3d9305b3e3401f9b5b1bb8aec71ed47abf8082 Mon Sep 17 00:00:00 2001 From: tmator Date: Wed, 13 Aug 2008 00:05:42 +0000 Subject: [PATCH] fix sdl init video : mthuurne git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@187 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp b/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp index 4b281aff4c..8dc62e8820 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp @@ -423,7 +423,7 @@ bool OpenGL_Create(SVideoInitialize &_VideoInitialize, int _iwidth, int _iheight //setup ogl to use double buffering SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); - screen = SDL_SetVideoMode(_twidth, _theight, 24, SDL_OPENGL|SDL_RESIZABLE); + screen = SDL_SetVideoMode(_twidth, _theight, 0, videoFlags); if (!screen) { //TODO : Display an error message SDL_Quit();