1
0
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:
Alexander Wilms 2024-02-02 08:52:59 +01:00
parent 58ee72f684
commit caa22ad9d8

View File

@ -397,7 +397,6 @@ SDL_Window * ScreenHandler::createWindow()
void ScreenHandler::onScreenResize()
{
recreateWindowAndScreenBuffers();
}
void ScreenHandler::validateSettings()