diff options
author | Benjamin Otte <otte@redhat.com> | 2010-05-16 03:36:05 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-05-17 01:13:46 +0200 |
commit | 29dfd5b488e16ec8be879b2415635df93b874afc (patch) | |
tree | b9072e29163ea91017a77cba2983c8d66f37d369 | |
parent | 4144488f516214b675d25d48add8cbd83fd17025 (diff) |
gl: Remove unused variables
-rw-r--r-- | src/cairo-gl-surface.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/cairo-gl-surface.c b/src/cairo-gl-surface.c index 4e6976b4..e8981204 100644 --- a/src/cairo-gl-surface.c +++ b/src/cairo-gl-surface.c @@ -939,8 +939,7 @@ _cairo_gl_surface_composite (cairo_operator_t op, unsigned int height, cairo_region_t *clip_region) { - cairo_gl_surface_t *dst = abstract_dst; - cairo_surface_attributes_t *src_attributes, *mask_attributes = NULL; + cairo_gl_surface_t *dst = abstract_dst; cairo_gl_context_t *ctx; cairo_status_t status; cairo_gl_composite_t setup; @@ -964,8 +963,6 @@ _cairo_gl_surface_composite (cairo_operator_t op, if (unlikely (status)) goto CLEANUP; - src_attributes = &setup.src.operand.texture.attributes; - if (mask != NULL) { status = _cairo_gl_operand_init (ctx, &setup.mask, mask, dst, mask_x, mask_y, @@ -973,8 +970,6 @@ _cairo_gl_surface_composite (cairo_operator_t op, width, height); if (unlikely (status)) goto CLEANUP; - - mask_attributes = &setup.mask.operand.texture.attributes; } status = _cairo_gl_composite_begin (ctx, &setup); |