From: Dave Airlie Date: Mon, 9 Mar 2009 03:48:47 +0000 (+1000) Subject: radeon: remove unused lines X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0fc6c2644cf69fd1851c9387c83b0e43f820bdf2;p=mesa.git radeon: remove unused lines --- diff --git a/src/mesa/drivers/dri/radeon/radeon_texstate.c b/src/mesa/drivers/dri/radeon/radeon_texstate.c index 42356cd37b8..06771a359b9 100644 --- a/src/mesa/drivers/dri/radeon/radeon_texstate.c +++ b/src/mesa/drivers/dri/radeon/radeon_texstate.c @@ -718,18 +718,15 @@ void radeonSetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPri case 4: t->pp_txformat = tx_table[MESA_FORMAT_ARGB8888].format; t->pp_txfilter |= tx_table[MESA_FORMAT_ARGB8888].filter; - // pitch_val /= 4; break; case 3: default: t->pp_txformat = tx_table[MESA_FORMAT_RGB888].format; t->pp_txfilter |= tx_table[MESA_FORMAT_RGB888].filter; -// pitch_val /= 4; break; case 2: t->pp_txformat = tx_table[MESA_FORMAT_RGB565].format; t->pp_txfilter |= tx_table[MESA_FORMAT_RGB565].filter; - pitch_val /= 2; break; } t->pp_txsize = ((rb->width - 1) << RADEON_TEX_USIZE_SHIFT)