mirror of
https://github.com/ocornut/imgui.git
synced 2026-05-18 03:00:17 +00:00
Viewports: moving PlatformWindowCreated field to public structure. (#5882)
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user