diff options
author | Benjamin Otte <otte@redhat.com> | 2010-06-02 15:23:08 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-06-07 13:37:48 +0200 |
commit | 5819bb07eb7ac64f0e2fbe6a46cc3db0de1d92ce (patch) | |
tree | c58fdb2af41f38dcb7385af45ddd5ebbf33bf7b3 /src/cairo-gl-composite.c | |
parent | c75460c54d88ce9a50ac59c15a10684043ca4b0e (diff) |
gl: Store the vertex offset in the operand
Diffstat (limited to 'src/cairo-gl-composite.c')
-rw-r--r-- | src/cairo-gl-composite.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-gl-composite.c b/src/cairo-gl-composite.c index 1b7f6bb3..42eacf69 100644 --- a/src/cairo-gl-composite.c +++ b/src/cairo-gl-composite.c @@ -682,6 +682,7 @@ _cairo_gl_context_setup_operand (cairo_gl_context_t *ctx, unsigned int vertex_offset) { memcpy (&ctx->operands[tex_unit], operand, sizeof (cairo_gl_operand_t)); + ctx->operands[tex_unit].vertex_offset = vertex_offset; switch (operand->type) { default: |