mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-18 00:10:37 +01:00
gl: Spans start after the mask, not coincident!
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
4163391322
commit
4f5d42f6e5
1 changed files with 1 additions and 1 deletions
|
|
@ -534,7 +534,7 @@ _cairo_gl_composite_begin (cairo_gl_composite_t *setup,
|
|||
_cairo_gl_context_setup_operand (ctx, CAIRO_GL_TEX_SOURCE, &setup->src, vertex_size, dst_size);
|
||||
_cairo_gl_context_setup_operand (ctx, CAIRO_GL_TEX_MASK, &setup->mask, vertex_size, dst_size + src_size);
|
||||
if (setup->spans)
|
||||
_cairo_gl_context_setup_spans (ctx, vertex_size, dst_size + src_size);
|
||||
_cairo_gl_context_setup_spans (ctx, vertex_size, dst_size + src_size + mask_size);
|
||||
else
|
||||
ctx->dispatch.DisableVertexAttribArray (CAIRO_GL_COLOR_ATTRIB_INDEX);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue