mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Don't call recreateWindowAndScreenBuffers() in ScreenHandler::onScreenResize() to fix crash due to a huge texture being created
This commit is contained in:
parent
58ee72f684
commit
caa22ad9d8
@ -397,7 +397,6 @@ SDL_Window * ScreenHandler::createWindow()
|
||||
|
||||
void ScreenHandler::onScreenResize()
|
||||
{
|
||||
recreateWindowAndScreenBuffers();
|
||||
}
|
||||
|
||||
void ScreenHandler::validateSettings()
|
||||
|
Loading…
x
Reference in New Issue
Block a user