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:
parent
c87df8e704
commit
2521e7bac9
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user