1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Fix flickering in fullscreen

This commit is contained in:
Andrii Danylchenko 2022-06-13 16:11:53 +03:00
parent c87df8e704
commit 2521e7bac9

View File

@ -466,6 +466,7 @@ void CGuiHandler::renderFrame()
SDL_UpdateTexture(screenTexture, nullptr, screen->pixels, screen->pitch);
SDL_RenderClear(mainRenderer);
SDL_RenderCopy(mainRenderer, screenTexture, nullptr, nullptr);
CCS->curh->render();