[cairo-commit] src/cairo-gl-composite.c

Benjamin Otte company at kemper.freedesktop.org
Thu May 20 13:37:53 PDT 2010


 src/cairo-gl-composite.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 24e684c267404528b40fa49b55272d73bd44167d
Author: Benjamin Otte <otte at gnome.org>
Date:   Thu May 20 22:37:18 2010 +0200

    gl: spans need the dummy texture
    
    Thanks Eric. That took me half a day.

diff --git a/src/cairo-gl-composite.c b/src/cairo-gl-composite.c
index 90863ae..471d241 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);


More information about the cairo-commit mailing list