Mesa (master): radeon: drop unused constant_cliprect field

Dave Airlie airlied at kemper.freedesktop.org
Fri Nov 11 15:28:26 UTC 2011


Module: Mesa
Branch: master
Commit: 88ec12539a65728225e720095a8105494ba772de
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=88ec12539a65728225e720095a8105494ba772de

Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Nov 10 15:36:07 2011 +0000

radeon: drop unused constant_cliprect field

---

 src/mesa/drivers/dri/radeon/radeon_common.c        |    1 -
 .../drivers/dri/radeon/radeon_common_context.h     |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/radeon/radeon_common.c b/src/mesa/drivers/dri/radeon/radeon_common.c
index 2b87f96..894a01f 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common.c
+++ b/src/mesa/drivers/dri/radeon/radeon_common.c
@@ -305,7 +305,6 @@ void radeon_draw_buffer(struct gl_context *ctx, struct gl_framebuffer *fb)
 			offset = rrb->draw_offset;
 			rrbColor = rrb;
 		}
-		radeon->constant_cliprect = GL_TRUE;
 	}
 
 	if (rrbColor == NULL)
diff --git a/src/mesa/drivers/dri/radeon/radeon_common_context.h b/src/mesa/drivers/dri/radeon/radeon_common_context.h
index 2e25fb1..6de9f8a 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common_context.h
+++ b/src/mesa/drivers/dri/radeon/radeon_common_context.h
@@ -438,7 +438,6 @@ struct radeon_context {
    struct radeon_debug debug;
 
   drm_clip_rect_t fboRect;
-  GLboolean constant_cliprect; /* use for FBO or DRI2 rendering */
   GLboolean front_cliprects;
 
    /**




More information about the mesa-commit mailing list