forked from Green-Sky/tomato
changes for imgui update
This commit is contained in:
parent
0e8c752df8
commit
8cf1f97ac4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user