fix sdl init video : mthuurne
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@187 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
7b357c84df
commit
bd3d9305b3
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue