Examples: SDL+OpenGL3: Various fixes to example to make it matches current GL3 example (#356)

This commit is contained in:
ocornut
2015-11-16 22:12:18 +01:00
parent 9d0caa2e66
commit ab7e91b65e
3 changed files with 48 additions and 44 deletions

View File

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