Doesnt apply anymore

This commit is contained in:
Aapo Tahkola 2006-01-21 12:48:09 +00:00
parent 41a874f486
commit f087d60f18

View file

@ -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));