mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-17 15:20:17 +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();
|
||||
|
||||
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();
|
||||
|
||||
ImGui::Render();
|
||||
|
|
Loading…
Reference in a new issue