mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-12-18 10:37:53 +01:00
parent
ad4a17c2f2
commit
a6e2a433c4
1 changed files with 3 additions and 0 deletions
|
@ -253,6 +253,9 @@ int winmain::WinMain(LPCSTR lpCmdLine)
|
||||||
RenderUi();
|
RenderUi();
|
||||||
|
|
||||||
SDL_RenderClear(renderer);
|
SDL_RenderClear(renderer);
|
||||||
|
// Alternative clear hack, clear might fail on some systems
|
||||||
|
// Todo: remove original clear, if save for all platforms
|
||||||
|
SDL_RenderFillRect(renderer, nullptr);
|
||||||
render::PresentVScreen();
|
render::PresentVScreen();
|
||||||
|
|
||||||
ImGui::Render();
|
ImGui::Render();
|
||||||
|
|
Loading…
Reference in a new issue