radeon: remove unused lines
authorDave Airlie <airlied@redhat.com>
Mon, 9 Mar 2009 03:48:47 +0000 (13:48 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 10 Mar 2009 01:00:14 +0000 (11:00 +1000)
src/mesa/drivers/dri/radeon/radeon_texstate.c

index 42356cd37b8c0f9de098681ebefac11f365c9304..06771a359b9fd5a6c558b1fadab79dd58a918732 100644 (file)
@@ -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)