diff options
author | Benjamin Otte <otte@gnome.org> | 2010-05-20 22:37:18 +0200 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2010-05-20 22:37:18 +0200 |
commit | 24e684c267404528b40fa49b55272d73bd44167d (patch) | |
tree | 0a1e6aa3b2ac227e9aed95207cc8876e46fc72e7 | |
parent | d7a564d8eed32b4417fdb4c8c5d91467e4ae1019 (diff) |
gl: spans need the dummy texture
Thanks Eric. That took me half a day.
-rw-r--r-- | src/cairo-gl-composite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-gl-composite.c b/src/cairo-gl-composite.c index 90863ae4..471d2413 100644 --- a/src/cairo-gl-composite.c +++ b/src/cairo-gl-composite.c @@ -622,7 +622,7 @@ _cairo_gl_operand_setup_texture (cairo_gl_context_t *ctx, glColorPointer (4, GL_UNSIGNED_BYTE, ctx->vertex_size, (void *) (uintptr_t) vertex_offset); glEnableClientState (GL_COLOR_ARRAY); - break; + /* fall through */ case CAIRO_GL_OPERAND_CONSTANT: if (ctx->current_shader == NULL) { glActiveTexture (GL_TEXTURE0 + tex_unit); |