1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-21 01:44:21 +00:00

Viewports: moving PlatformWindowCreated field to public structure. (#5882)

This commit is contained in:
ocornut 2022-11-24 16:39:45 +01:00
parent 9964740a47
commit d2f9c5dfb7
3 changed files with 3 additions and 3 deletions

View file

@ -14029,7 +14029,7 @@ void ImGui::UpdatePlatformWindows()
continue;
// Create window
bool is_new_platform_window = (viewport->PlatformWindowCreated == false);
const bool is_new_platform_window = (viewport->PlatformWindowCreated == false);
if (is_new_platform_window)
{
IMGUI_DEBUG_LOG_VIEWPORT("[viewport] Create Platform Window %08X '%s'\n", viewport->ID, viewport->Window ? viewport->Window->Name : "n/a");