mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-03 18:40:18 +01:00
gl: Fix incorrect size of expression
The sizeof operator now applied to the correct variable "ctx->glyph_cache", instead of its pointer address, in function "_cairo_gl_composite_flush". Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=91321 Signed-off-by: Arpit Jain <jain.arpit@samsung.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
parent
498fc2fbe3
commit
edd321c2f5
1 changed files with 1 additions and 1 deletions
|
|
@ -861,7 +861,7 @@ _cairo_gl_composite_flush (cairo_gl_context_t *ctx)
|
|||
_cairo_gl_composite_draw_triangles_with_clip_region (ctx, count);
|
||||
}
|
||||
|
||||
for (i = 0; i < ARRAY_LENGTH (&ctx->glyph_cache); i++)
|
||||
for (i = 0; i < ARRAY_LENGTH (ctx->glyph_cache); i++)
|
||||
_cairo_gl_glyph_cache_unlock (&ctx->glyph_cache[i]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue