Doesnt apply anymore
authorAapo Tahkola <aet@rasterburn.org>
Sat, 21 Jan 2006 12:48:09 +0000 (12:48 +0000)
committerAapo Tahkola <aet@rasterburn.org>
Sat, 21 Jan 2006 12:48:09 +0000 (12:48 +0000)
src/mesa/drivers/dri/r300/r300_texstate.c

index 7e48ba63fe7e9fc8edc8d1ad228dbdce1b4bbd3c..7a3d9197c9da3f92d52d3bb8a6bf516a14135d24 100644 (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));