Backends: SDL2: Remove unnecessary ImGui_ImplSDL2_NewFrame() parameter. (#3244)

This commit is contained in:
Giovanni Funchal
2021-06-29 19:54:25 +02:00
committed by ocornut
parent 23a15834fa
commit 6792e1a3e0
10 changed files with 23 additions and 14 deletions

View File

@ -116,7 +116,7 @@ int main(int, char**)
// Start the Dear ImGui frame
ImGui_ImplMetal_NewFrame(renderPassDescriptor);
ImGui_ImplSDL2_NewFrame(window);
ImGui_ImplSDL2_NewFrame();
ImGui::NewFrame();
// 1. Show the big demo window (Most of the sample code is in ImGui::ShowDemoWindow()! You can browse its code to learn more about Dear ImGui!).