[cairo] [PATCH 2/6] [gl] Removed repeated lines of source

Eric Anholt eric at anholt.net
Wed Jan 13 16:08:05 PST 2010


From: T. Zachary Laine <whatwasthataddress at gmail.com>

The two removed lines are redundant with code a few lines above them.
---
 src/cairo-gl-surface.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/cairo-gl-surface.c b/src/cairo-gl-surface.c
index 07b6d4d..9a3faf3 100644
--- a/src/cairo-gl-surface.c
+++ b/src/cairo-gl-surface.c
@@ -1001,8 +1001,6 @@ _cairo_gl_pattern_surface_texture_setup (cairo_gl_composite_operand_t *operand,
     attributes = &operand->operand.texture.attributes;
 
     operand->type = OPERAND_TEXTURE;
-    operand->operand.texture.tex = gl_surface->tex;
-    operand->operand.texture.surface = NULL;
     attributes->matrix = src->base.matrix;
     attributes->has_component_alpha = src->base.has_component_alpha;
     attributes->extend = src->base.extend;
-- 
1.6.5.7



More information about the cairo mailing list