cairo_surface_t pointer to cairo_surface_set_matrix

This commit is contained in:
David Reveman 2004-05-01 05:50:46 +00:00
parent c0df5d4b1a
commit 1876568f20
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-05-01 David Reveman <c99drn@cs.umu.se>
* src/cairo_gl_surface.c (_cairo_gl_surface_create_pattern):
cairo_surface_t pointer to cairo_surface_set_matrix.
2004-04-29 Carl Worth <cworth@isi.edu>
* src/cairo_gstate.c (_cairo_gstate_set_pattern): Don't set

View file

@ -719,7 +719,7 @@ _cairo_gl_surface_create_pattern (void *abstract_surface,
if (pattern->type == CAIRO_PATTERN_LINEAR ||
pattern->type == CAIRO_PATTERN_RADIAL)
cairo_surface_set_matrix (gl_surface, &pattern->matrix);
cairo_surface_set_matrix (&gl_surface->base, &pattern->matrix);
_cairo_pattern_init_copy (&gl_surface->pattern, pattern);
gl_surface->pattern_box = *box;