radeon: drop unused constant_cliprect field
authorDave Airlie <airlied@redhat.com>
Thu, 10 Nov 2011 15:36:07 +0000 (15:36 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 11 Nov 2011 15:04:53 +0000 (15:04 +0000)
src/mesa/drivers/dri/radeon/radeon_common.c
src/mesa/drivers/dri/radeon/radeon_common_context.h

index 2b87f9631b760dca4a4f9c2c23e93fc3e61a2e3c..894a01f91f5ee098d96e8bf9f36186a2a4050d83 100644 (file)
@@ -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)
index 2e25fb13c2ac0d9d480c93f87d0a662361c50484..6de9f8a37b5159a6ad9fffc548a08f79acf1f2a1 100644 (file)
@@ -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;
 
    /**