瀏覽代碼

Internals: renamed GetIOEx() to GetIO(). Added GetPlatformIO() explicit context variant. - OOPS

ocornut 7 月之前
父節點
當前提交
e4db4e423d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      imgui.cpp

+ 1 - 1
imgui.cpp

@@ -4829,7 +4829,7 @@ ImGuiPlatformIO& ImGui::GetPlatformIO()
 // This variant exists to facilitate backends experimenting with multi-threaded parallel context. (#8069, #6293, #5856)
 ImGuiPlatformIO& ImGui::GetPlatformIO(ImGuiContext* ctx)
 {
-    IM_ASSERT(ctx != NULL;
+    IM_ASSERT(ctx != NULL);
     return ctx->PlatformIO;
 }