r200: fix compiler warning (unused var)
authorRoland Scheidegger <sroland@vmware.com>
Wed, 5 Aug 2009 00:25:40 +0000 (02:25 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 5 Aug 2009 00:33:34 +0000 (02:33 +0200)
src/mesa/drivers/dri/r200/r200_state_init.c

index bc871d99048adbb77299388ac52186fd9ebbf568..35d874bc0905004992be46a83065e791e184d493 100644 (file)
@@ -563,7 +563,6 @@ static void tex_emit(GLcontext *ctx, struct radeon_state_atom *atom)
    uint32_t dwords = atom->cmd_size;
    int i = atom->idx;
    radeonTexObj *t = r200->state.texture.unit[i].texobj;
-   radeon_mipmap_level *lvl;
 
    if (t && t->mt && !t->image_override)
      dwords += 2;
@@ -591,7 +590,6 @@ static void tex_emit_cs(GLcontext *ctx, struct radeon_state_atom *atom)
    uint32_t dwords = atom->cmd_size;
    int i = atom->idx;
    radeonTexObj *t = r200->state.texture.unit[i].texobj;
-   radeon_mipmap_level *lvl;
    int hastexture = 1;
 
    if (!r200->state.texture.unit[i].unitneeded)