Parcourir la source

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

ocornut il y a 7 mois
Parent
commit
e4db4e423d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;
 }