Do not set RESIZABLE on fullscreen (really? :v)

This commit is contained in:
Themaister 2011-09-06 15:38:32 +02:00
parent 3045f2c478
commit 2bd0caae2e

View File

@ -805,7 +805,7 @@ static bool gl_frame(void *data, const void* frame, unsigned width, unsigned hei
if (gl->should_resize)
{
gl->should_resize = false;
SDL_SetVideoMode(gl->win_width, gl->win_height, 0, SDL_OPENGL | SDL_RESIZABLE | (g_settings.video.fullscreen ? SDL_FULLSCREEN : 0));
SDL_SetVideoMode(gl->win_width, gl->win_height, 0, SDL_OPENGL | (g_settings.video.fullscreen ? SDL_FULLSCREEN : SDL_RESIZABLE));
#ifdef HAVE_FBO
if (!gl->render_to_tex)