Procházet zdrojové kódy

Examples: Apple+OpenGL: Fix build.

omar před 3 roky
rodič
revize
2fa60bec27
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      examples/example_apple_opengl2/main.mm

+ 1 - 0
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();