From: YeshunYe yeyeshun@uniontech.com
The d2d_command_list_draw_geometry() function didn't store the 'geometry', this may cause an error when command replay.
Signed-off-by: YeshunYe yeyeshun@uniontech.com --- dlls/d2d1/command_list.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/d2d1/command_list.c b/dlls/d2d1/command_list.c index 27c2bf3db41..4d81f0f1ccf 100644 --- a/dlls/d2d1/command_list.c +++ b/dlls/d2d1/command_list.c @@ -795,6 +795,7 @@ void d2d_command_list_draw_geometry(struct d2d_command_list *command_list,
command = d2d_command_list_require_space(command_list, sizeof(*command)); command->c.op = D2D_COMMAND_DRAW_GEOMETRY; + command->geometry = geometry; command->brush = brush; command->stroke_width = stroke_width; command->stroke_style = stroke_style;