mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 11:42:31 +01:00
bugfix to disable alt-enter in win32
This commit is contained in:
parent
8099e9db96
commit
80f5ee91d5
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user