mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 23:28:07 +02:00
Pass the same type when creating the static glyphs and positions arrays.
Fixes https://gitlab.freedesktop.org/cairo/cairo/-/issues/574
This commit is contained in:
parent
8f1190dc82
commit
21ab756bd9
1 changed files with 1 additions and 1 deletions
|
|
@ -1904,7 +1904,7 @@ _cairo_quartz_cg_glyphs (const cairo_compositor_t *compositor,
|
|||
cairo_bool_t overlap)
|
||||
{
|
||||
CGAffineTransform textTransform, invTextTransform;
|
||||
CGGlyph glyphs_static[CAIRO_STACK_ARRAY_LENGTH (CGGlyph)];
|
||||
CGGlyph glyphs_static[CAIRO_STACK_ARRAY_LENGTH (CGPoint)];
|
||||
CGPoint cg_positions_static[CAIRO_STACK_ARRAY_LENGTH (CGPoint)];
|
||||
CGGlyph *cg_glyphs = &glyphs_static[0];
|
||||
CGPoint *cg_positions = &cg_positions_static[0];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue