viewport->LastPlatformPos=viewport->LastPlatformSize=ImVec2(FLT_MAX,FLT_MAX);// By clearing those we'll enforce a call to Platform_SetWindowPos/Platform_SetWindowSize before Platform_ShowWindow
viewport->LastRendererSize=viewport->Size;
viewport->CreatedPlatformWindow=true;
viewport->CreatedPlatformWindow=true;
}
}
// Apply Position and Size (from ImGui to Platform/Renderer back-ends)
// Apply Position and Size (from ImGui to Platform/Renderer back-ends)
@ -611,9 +611,11 @@ struct ImGuiViewportP : public ImGuiViewport
ImDrawList*OverlayDrawList;// For convenience, a draw list we can render to that's always rendered last (we use it to draw software mouse cursor when io.MouseDrawCursor is set)
ImDrawList*OverlayDrawList;// For convenience, a draw list we can render to that's always rendered last (we use it to draw software mouse cursor when io.MouseDrawCursor is set)