mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
This commit is contained in:
parent
aa9476a38a
commit
1ad9de5aae
1 changed files with 17 additions and 3 deletions
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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue