mirror of
https://github.com/ocornut/imgui.git
synced 2025-10-01 07:38:31 +00:00
This commit is contained in:
20
imgui.cpp
20
imgui.cpp
@@ -16228,17 +16228,31 @@ void ImGuiPlatformIO::ClearPlatformHandlers()
|
||||
{
|
||||
Platform_GetClipboardTextFn = NULL;
|
||||
Platform_SetClipboardTextFn = NULL;
|
||||
Platform_ClipboardUserData = NULL;
|
||||
Platform_OpenInShellFn = NULL;
|
||||
Platform_OpenInShellUserData = NULL;
|
||||
Platform_SetImeDataFn = NULL;
|
||||
Platform_ImeUserData = NULL;
|
||||
Platform_ClipboardUserData = Platform_OpenInShellUserData = Platform_ImeUserData = NULL;
|
||||
Platform_CreateWindow = Platform_DestroyWindow = Platform_ShowWindow = NULL;
|
||||
Platform_SetWindowPos = Platform_SetWindowSize = NULL;
|
||||
Platform_GetWindowPos = Platform_GetWindowSize = Platform_GetWindowFramebufferScale = NULL;
|
||||
Platform_SetWindowFocus = NULL;
|
||||
Platform_GetWindowFocus = Platform_GetWindowMinimized = NULL;
|
||||
Platform_SetWindowTitle = NULL;
|
||||
Platform_SetWindowAlpha = NULL;
|
||||
Platform_UpdateWindow = NULL;
|
||||
Platform_RenderWindow = Platform_SwapBuffers = NULL;
|
||||
Platform_GetWindowDpiScale = NULL;
|
||||
Platform_OnChangedViewport = NULL;
|
||||
Platform_GetWindowWorkAreaInsets = NULL;
|
||||
Platform_CreateVkSurface = NULL;
|
||||
}
|
||||
|
||||
void ImGuiPlatformIO::ClearRendererHandlers()
|
||||
{
|
||||
Renderer_TextureMaxWidth = Renderer_TextureMaxHeight = 0;
|
||||
Renderer_RenderState = NULL;
|
||||
Renderer_CreateWindow = Renderer_DestroyWindow = NULL;
|
||||
Renderer_SetWindowSize = NULL;
|
||||
Renderer_RenderWindow = Renderer_SwapBuffers = NULL;
|
||||
}
|
||||
|
||||
ImGuiViewport* ImGui::GetMainViewport()
|
||||
|
Reference in New Issue
Block a user