mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 12:08:47 +02:00
ImGuiTextBuffer: Avoid heap allocation when empty.
This commit is contained in:
@ -59,6 +59,7 @@ Other Changes:
|
||||
- BeginMenu(): Fixed menu popup horizontal offset being off the item in the menu bar when WindowPadding=0.0f.
|
||||
- ArrowButton(): Fixed arrow shape being horizontally misaligned by (FramePadding.y-FramePadding.x) if they are different.
|
||||
- Drag and Drop: Added GetDragDropPayload() to peek directly into the payload (if any) from anywhere. (#143)
|
||||
- ImGuiTextBuffer: Avoid heap allocation when empty.
|
||||
- ImDrawList: Fixed AddConvexPolyFilled() undefined behavior when passing points_count smaller than 3,
|
||||
in particular, points_count==0 could lead to a memory stomp if the draw list was previously empty.
|
||||
- Examples: DirectX10, DirectX11: Removed seemingly unnecessary calls to invalidate and recreate device objects
|
||||
|
Reference in New Issue
Block a user