mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-28 08:48:48 +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");
|
||||
}
|
||||
|
||||
if (GH.listInt.size() > 1)
|
||||
screenBuf = screen2;
|
||||
else
|
||||
screenBuf = screen;
|
||||
|
||||
clearScreen();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user