From 2fa60bec27999fd0b9e2291dd4dbcc4646e2fab4 Mon Sep 17 00:00:00 2001 From: omar Date: Mon, 9 May 2022 11:30:52 +0200 Subject: [PATCH] Examples: Apple+OpenGL: Fix build. --- examples/example_apple_opengl2/main.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/example_apple_opengl2/main.mm b/examples/example_apple_opengl2/main.mm index f336fa99..9b3fa883 100644 --- a/examples/example_apple_opengl2/main.mm +++ b/examples/example_apple_opengl2/main.mm @@ -81,6 +81,7 @@ -(void)updateAndDrawDemoView { // Start the Dear ImGui frame + ImGuiIO& io = ImGui::GetIO(); ImGui_ImplOpenGL2_NewFrame(); ImGui_ImplOSX_NewFrame(self); ImGui::NewFrame();