changes for imgui update

This commit is contained in:
Green Sky 2024-05-28 17:17:57 +02:00
parent 0e8c752df8
commit 8cf1f97ac4
No known key found for this signature in database

View File

@ -142,7 +142,7 @@ int main(int argc, char** argv) {
}
ImGui::Render();
ImGui_ImplSDLRenderer3_RenderDrawData(ImGui::GetDrawData());
ImGui_ImplSDLRenderer3_RenderDrawData(ImGui::GetDrawData(), renderer.get());
SDL_RenderPresent(renderer.get());
// clearing after present is (should) more performant, but first frame is a mess