diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-09-04 09:47:10 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-09-04 09:47:10 +0100 |
commit | 402a0539489cc01094b464109ae28ae78b85a294 (patch) | |
tree | 339c777bd48d5d9bf225c8d6ea5097c545e4c57c /src | |
parent | b065303740cc18fbcabfeef34d09c7d8b617647e (diff) |
[gl] compile fix.
Compiled fine during testing -- only I forgot I hadn't enable the gl surface.
Diffstat (limited to 'src')
-rw-r--r-- | src/cairo-gl-surface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-gl-surface.c b/src/cairo-gl-surface.c index a2c5b971..0e689a35 100644 --- a/src/cairo-gl-surface.c +++ b/src/cairo-gl-surface.c @@ -1525,7 +1525,7 @@ _cairo_gl_surface_fill_rectangles (void *abstract_surface, #define N_STACK_RECTS 4 cairo_gl_surface_t *surface = abstract_surface; GLfloat vertices_stack[N_STACK_RECTS*4*2]; - GLfloat colors_stack[N_STACK_RECTS*4*4] + GLfloat colors_stack[N_STACK_RECTS*4*4]; cairo_gl_context_t *ctx; int i; GLfloat *vertices; @@ -1596,6 +1596,7 @@ _cairo_gl_surface_fill_rectangles (void *abstract_surface, free (colors); return CAIRO_STATUS_SUCCESS; +#undef N_STACK_RECTS } typedef struct _cairo_gl_surface_span_renderer { |