浏览代码

Examples: Apple+OpenGL: Fix build.

omar 3 年之前
父节点
当前提交
2fa60bec27
共有 1 个文件被更改,包括 1 次插入0 次删除
  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();