mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
8718a23b2e
As the test shows, we can create geometries that have less than two vertices after eliminating duplicates. Calling d2d_cdt_triangulate() on those would lead to infinite recursion. In principle we could now get rid of the original vertex count check, but it seems cheap enough that it's worth keeping in order to avoid some unnecessary work in the somewhat more common case that we have less than three vertices before duplicate removal. Based on a patch by Changsheng Chen. Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> |
||
---|---|---|
.. | ||
tests | ||
bitmap.c | ||
bitmap_render_target.c | ||
brush.c | ||
d2d1.spec | ||
d2d1_private.h | ||
dc_render_target.c | ||
device.c | ||
effect.c | ||
factory.c | ||
geometry.c | ||
hwnd_render_target.c | ||
layer.c | ||
Makefile.in | ||
mesh.c | ||
state_block.c | ||
stroke.c | ||
version.rc | ||
wic_render_target.c |