mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
#1071 should be fixed.
This commit is contained in:
parent
d961ec0507
commit
d935e87dd8
@ -704,7 +704,10 @@ static void fullScreenChanged(const JsonNode &newState)
|
||||
return;
|
||||
}
|
||||
|
||||
bool bufOnScreen = (screenBuf == screen);
|
||||
screen = SDL_SetVideoMode(screen->w, screen->h, bitsPerPixel, SDL_SWSURFACE|(fullscreen?SDL_FULLSCREEN:0));
|
||||
screenBuf = bufOnScreen ? screen : screen2;
|
||||
|
||||
GH.totalRedraw();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user