mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +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