From: Vinson Lee Date: Sun, 28 Feb 2010 05:57:38 +0000 (-0800) Subject: dri: Remove dead code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=909c08d177638a6318382a70eee6e05ed67efd81;p=mesa.git dri: Remove dead code. --- diff --git a/src/mesa/drivers/dri/common/spantmp.h b/src/mesa/drivers/dri/common/spantmp.h index d5608b88065..cdc4f422ceb 100644 --- a/src/mesa/drivers/dri/common/spantmp.h +++ b/src/mesa/drivers/dri/common/spantmp.h @@ -288,7 +288,6 @@ static void TAG(ReadRGBAPixels)( GLcontext *ctx, HW_READ_LOCK() { GLubyte (*rgba)[4] = (GLubyte (*)[4]) values; - const GLubyte *mask = NULL; /* remove someday */ GLuint i; LOCAL_VARS; @@ -296,23 +295,11 @@ static void TAG(ReadRGBAPixels)( GLcontext *ctx, HW_READ_CLIPLOOP() { - if (mask) - { - for (i=0;i