mirror of
https://github.com/Drezil/imgui.git
synced 2025-01-12 08:46:36 +00:00
Texture-based round corners: Fixed not drawing correctly with small radii
Combined filled/outline arc textures into one texture rectangle per radius Made rounded rectangles/circles draw using (moderately) tight-fitting geometry to minimise fill-rate usage Hooked up texture-based rounded rectangle/circle code to main render path, with fallback to stroke system Made AddCircleFilled/AddCircle explicitly not draw circles of radius 0 or less (to avoid inconsistency between them) Fixed bug in PrimReserve() where releasing more vertices/indices than you used would try and immediately render the entire buffer
This commit is contained in:
parent
d81c5cbae3
commit
054c87fc4f
882
imgui_draw.cpp
882
imgui_draw.cpp
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user