mirror of
https://github.com/glest/glest-source.git
synced 2025-08-23 08:22:50 +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);
|
ShowWindow(handle, SW_RESTORE);
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_Surface *sf = SDL_GetVideoSurface();
|
//SDL_Surface *sf = SDL_GetVideoSurface();
|
||||||
SDL_SetVideoMode(0, 0, 0, sf->flags ^SDL_FULLSCREEN);
|
//SDL_SetVideoMode(0, 0, 0, sf->flags ^SDL_FULLSCREEN);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
SDL_WM_ToggleFullScreen(SDL_GetVideoSurface());
|
SDL_WM_ToggleFullScreen(SDL_GetVideoSurface());
|
||||||
|
Reference in New Issue
Block a user