[cairo-commit] src/cairo-gl-composite.c
Bryce Harrington
bryce at kemper.freedesktop.org
Tue Jul 14 01:45:35 PDT 2015
src/cairo-gl-composite.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit edd321c2f52daaef9804481bc4d0aa84f8ff0060
Author: Arpit Jain <jain.arpit at samsung.com>
Date: Mon Jul 13 11:31:48 2015 +0530
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 at samsung.com>
Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>
diff --git a/src/cairo-gl-composite.c b/src/cairo-gl-composite.c
index b50f9a7..5b14114 100644
--- a/src/cairo-gl-composite.c
+++ b/src/cairo-gl-composite.c
@@ -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]);
}
More information about the cairo-commit
mailing list