diff options
author | Aapo Tahkola <[email protected]> | 2006-01-21 12:48:09 +0000 |
---|---|---|
committer | Aapo Tahkola <[email protected]> | 2006-01-21 12:48:09 +0000 |
commit | f087d60f1803bb62e4f30545206b245c7271edd1 (patch) | |
tree | 70df945d04af52a1d397777f098c061afb730627 /src | |
parent | 41a874f486d42d7200bef04a62c519d1943cb76d (diff) |
Doesnt apply anymore
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_texstate.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_texstate.c b/src/mesa/drivers/dri/r300/r300_texstate.c index 7e48ba63fe7..7a3d9197c9d 100644 --- a/src/mesa/drivers/dri/r300/r300_texstate.c +++ b/src/mesa/drivers/dri/r300/r300_texstate.c @@ -348,14 +348,6 @@ static void r300SetTexImages(r300ContextPtr rmesa, (log2Height << R200_FACE_HEIGHT_4_SHIFT)); } - if (!baseImage->IsCompressed) { - int vv; - vv = (tObj->Image[0][t->base.firstLevel]->Width * 4) % 64; - if (vv >= 4 && vv <= 32) { - WARN_ONCE("Corrupted texture ahead!\n"); - } - } - t->size = (((tObj->Image[0][t->base.firstLevel]->Width - 1) << R300_TX_WIDTHMASK_SHIFT) |((tObj->Image[0][t->base.firstLevel]->Height - 1) << R300_TX_HEIGHTMASK_SHIFT)); |