mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-27 02:40:05 +00:00
Examples: SDL: Made ImGui_ImplSdlGL3_NewFrame() signature match GL2 one
This commit is contained in:
parent
e6c2c1fcfd
commit
fdc4299c6c
5 changed files with 11 additions and 14 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue