bugfix to disable alt-enter in win32

This commit is contained in:
Mark Vejvoda 2010-04-13 20:20:51 +00:00
parent 8099e9db96
commit 80f5ee91d5

View File

@ -346,8 +346,8 @@ void Window::toggleFullscreen() {
ShowWindow(handle, SW_RESTORE);
}
SDL_Surface *sf = SDL_GetVideoSurface();
SDL_SetVideoMode(0, 0, 0, sf->flags ^SDL_FULLSCREEN);
//SDL_Surface *sf = SDL_GetVideoSurface();
//SDL_SetVideoMode(0, 0, 0, sf->flags ^SDL_FULLSCREEN);
#else
SDL_WM_ToggleFullScreen(SDL_GetVideoSurface());