SDL_GL_DOUBLEBUFFER is not a valid SDL_SetVideoMode flag.

This commit is contained in:
riccardom 2010-02-01 17:05:23 +00:00
parent 907889d756
commit bfaa92649e
1 changed files with 1 additions and 2 deletions

View File

@ -751,7 +751,6 @@ int main(int argc, char ** argv) {
if ( my_config.opengl_2d) {
/* the flags to pass to SDL_SetVideoMode */
sdl_videoFlags = SDL_OPENGL; /* Enable OpenGL in SDL */
sdl_videoFlags |= SDL_GL_DOUBLEBUFFER; /* Enable double buffering */
sdl_videoFlags |= SDL_HWPALETTE; /* Store the palette in hardware */
sdl_videoFlags |= SDL_RESIZABLE; /* Enable window resizing */