[cairo-commit] src/cairo-gl-surface.c
Chris Wilson
ickle at kemper.freedesktop.org
Fri Sep 4 01:48:41 PDT 2009
src/cairo-gl-surface.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 402a0539489cc01094b464109ae28ae78b85a294
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Fri Sep 4 09:47:10 2009 +0100
[gl] compile fix.
Compiled fine during testing -- only I forgot I hadn't enable the gl surface.
diff --git a/src/cairo-gl-surface.c b/src/cairo-gl-surface.c
index a2c5b97..0e689a3 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 {
More information about the cairo-commit
mailing list