mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-26 02:34:23 +00:00
This commit is contained in:
parent
0e09032750
commit
2fecd332fc
24 changed files with 71 additions and 48 deletions
|
|
@ -124,9 +124,9 @@ int main(int, char**)
|
|||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());
|
||||
|
||||
// Update and Render additional Platform Windows
|
||||
// Update and Render additional Platform Windows (when ImGuiConfigFlags_EnableViewports is enabled)
|
||||
ImGui::UpdatePlatformWindows();
|
||||
ImGui::RenderPlatformWindows();
|
||||
ImGui::RenderPlatformWindows(NULL, NULL);
|
||||
|
||||
glfwMakeContextCurrent(window);
|
||||
glfwSwapBuffers(window);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue