fix warnings in r300_texstate.c (Jeff Smith)
authorBen Skeggs <darktama@iinet.net.au>
Thu, 12 May 2005 03:53:18 +0000 (03:53 +0000)
committerBen Skeggs <darktama@iinet.net.au>
Thu, 12 May 2005 03:53:18 +0000 (03:53 +0000)
src/mesa/drivers/dri/r300/r300_texstate.c

index 55d82548901c8674b592ee6982f88bb46feb16f2..b06629ca13a0584340535a34f30d7c4c78125e6c 100644 (file)
@@ -1105,12 +1105,12 @@ static GLboolean enable_tex_2d(GLcontext * ctx, int unit)
 
        /* Need to load the 2d images associated with this unit.
         */
-       #if 0
+#if 0
        if (t->format & R200_TXFORMAT_NON_POWER2) {
                t->format &= ~R200_TXFORMAT_NON_POWER2;
                t->base.dirty_images[0] = ~0;
        }
-       #endif
+#endif
 
        ASSERT(tObj->Target == GL_TEXTURE_2D || tObj->Target == GL_TEXTURE_1D);
 
@@ -1211,12 +1211,12 @@ static GLboolean enable_tex_rect(GLcontext * ctx, int unit)
        struct gl_texture_object *tObj = texUnit->_Current;
        r300TexObjPtr t = (r300TexObjPtr) tObj->DriverData;
 
-       #if 0
+#if 0
        if (!(t->format & R200_TXFORMAT_NON_POWER2)) {
                t->format |= R200_TXFORMAT_NON_POWER2;
                t->base.dirty_images[0] = ~0;
        }
-       #endif
+#endif
 
        ASSERT(tObj->Target == GL_TEXTURE_RECTANGLE_NV);