aboutsummaryrefslogtreecommitdiff
path: root/pixman/pixman/pixman-glyph.c
diff options
context:
space:
mode:
Diffstat (limited to 'pixman/pixman/pixman-glyph.c')
-rw-r--r--pixman/pixman/pixman-glyph.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/pixman/pixman/pixman-glyph.c b/pixman/pixman/pixman-glyph.c
index 30a409908..15b3f1fea 100644
--- a/pixman/pixman/pixman-glyph.c
+++ b/pixman/pixman/pixman-glyph.c
@@ -354,7 +354,7 @@ pixman_glyph_get_extents (pixman_glyph_cache_t *cache,
PIXMAN_EXPORT pixman_format_code_t
pixman_glyph_get_mask_format (pixman_glyph_cache_t *cache,
int n_glyphs,
- pixman_glyph_t * glyphs)
+ const pixman_glyph_t *glyphs)
{
pixman_format_code_t format = PIXMAN_a1;
int i;
@@ -401,7 +401,7 @@ pixman_composite_glyphs_no_mask (pixman_op_t op,
int32_t dest_y,
pixman_glyph_cache_t *cache,
int n_glyphs,
- pixman_glyph_t *glyphs)
+ const pixman_glyph_t *glyphs)
{
pixman_region32_t region;
pixman_format_code_t glyph_format = PIXMAN_null;
@@ -502,7 +502,7 @@ static void
add_glyphs (pixman_glyph_cache_t *cache,
pixman_image_t *dest,
int off_x, int off_y,
- int n_glyphs, pixman_glyph_t *glyphs)
+ int n_glyphs, const pixman_glyph_t *glyphs)
{
pixman_format_code_t glyph_format = PIXMAN_null;
uint32_t glyph_flags = 0;
@@ -560,7 +560,7 @@ add_glyphs (pixman_glyph_cache_t *cache,
{
if (!white_img)
{
- pixman_color_t white = { 0xffff, 0xffff, 0xffff, 0xffff };
+ static const pixman_color_t white = { 0xffff, 0xffff, 0xffff, 0xffff };
if (!(white_img = pixman_image_create_solid_fill (&white)))
goto out;
@@ -651,7 +651,7 @@ pixman_composite_glyphs (pixman_op_t op,
int32_t height,
pixman_glyph_cache_t *cache,
int n_glyphs,
- pixman_glyph_t *glyphs)
+ const pixman_glyph_t *glyphs)
{
pixman_image_t *mask;