mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 14:11:15 +02:00
bugfix to disable alt-enter in win32
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user