Skip to content

Commit 5b4deb4

Browse files
authored
Merge pull request #1483 from MadLadSquad/auto
Update
2 parents 8776066 + f903b2f commit 5b4deb4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Framework/ThirdParty/source-libraries/cimgui/cimgui.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -3690,8 +3690,8 @@ struct ImGuiViewport_t
36903690
// The library never uses those fields, they are merely storage to facilitate backend implementation.
36913691
void* RendererUserData; // void* to hold custom data structure for the renderer (e.g. swap chain, framebuffers etc.). generally set by your Renderer_CreateWindow function.
36923692
void* PlatformUserData; // void* to hold custom data structure for the OS / platform (e.g. windowing info, render context). generally set by your Platform_CreateWindow function.
3693-
void* PlatformHandle; // void* to hold higher-level, platform window handle (e.g. HWND, GLFWWindow*, SDL_Window*), for FindViewportByPlatformHandle().
3694-
void* PlatformHandleRaw; // void* to hold lower-level, platform-native window handle (under Win32 this is expected to be a HWND, unused for other platforms), when using an abstraction layer like GLFW or SDL (where PlatformHandle would be a SDL_Window*)
3693+
void* PlatformHandle; // void* to hold higher-level, platform window handle (e.g. HWND for Win32 backend, Uint32 WindowID for SDL, GLFWWindow* for GLFW), for FindViewportByPlatformHandle().
3694+
void* PlatformHandleRaw; // void* to hold lower-level, platform-native window handle (always HWND on Win32 platform, unused for other platforms).
36953695
bool PlatformWindowCreated; // Platform window has been created (Platform_CreateWindow() has been called). This is false during the first frame where a viewport is being created.
36963696
bool PlatformRequestMove; // Platform window requested move (e.g. window was moved by the OS / host window manager, authoritative position will be OS window position)
36973697
bool PlatformRequestResize; // Platform window requested resize (e.g. window was resized by the OS / host window manager, authoritative size will be OS window size)

0 commit comments

Comments
 (0)