Examples: SDL: Made ImGui_ImplSdlGL3_NewFrame() signature match GL2 one

This commit is contained in:
ocornut
2016-03-25 22:27:43 +01:00
parent e6c2c1fcfd
commit fdc4299c6c
5 changed files with 11 additions and 14 deletions

View File

@ -58,7 +58,7 @@ int main(int, char**)
if (event.type == SDL_QUIT)
done = true;
}
ImGui_ImplSdlGL3_NewFrame();
ImGui_ImplSdlGL3_NewFrame(window);
// 1. Show a simple window
// Tip: if we don't call ImGui::Begin()/ImGui::End() the widgets appears in a window automatically called "Debug"