mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix screen updates after window resize
This commit is contained in:
parent
dbc4330fc5
commit
bffec0068b
@ -269,7 +269,11 @@ void WindowHandler::initializeScreen()
|
||||
throw std::runtime_error("Unable to copy surface\n");
|
||||
}
|
||||
|
||||
screenBuf = screen;
|
||||
if (GH.listInt.size() > 1)
|
||||
screenBuf = screen2;
|
||||
else
|
||||
screenBuf = screen;
|
||||
|
||||
clearScreen();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user