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

This commit is contained in:
ocornut
2025-01-31 19:50:18 +01:00
parent e2a99b5760
commit e4db4e423d
+1 -1
View File
@@ -4829,7 +4829,7 @@ ImGuiPlatformIO& ImGui::GetPlatformIO()
// This variant exists to facilitate backends experimenting with multi-threaded parallel context. (#8069, #6293, #5856) // This variant exists to facilitate backends experimenting with multi-threaded parallel context. (#8069, #6293, #5856)
ImGuiPlatformIO& ImGui::GetPlatformIO(ImGuiContext* ctx) ImGuiPlatformIO& ImGui::GetPlatformIO(ImGuiContext* ctx)
{ {
IM_ASSERT(ctx != NULL; IM_ASSERT(ctx != NULL);
return ctx->PlatformIO; return ctx->PlatformIO;
} }