summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2005-05-12 03:53:18 +0000
committerBen Skeggs <[email protected]>2005-05-12 03:53:18 +0000
commit69a2f7cdd53f022dcac541a0e03317e105a85494 (patch)
tree7b2ed330766824fed31b60ff4e30b09b6d5e5dfd /src/mesa/drivers/dri
parentdb21f1c84f32d4bd7696774acb86f5480f5138cd (diff)
fix warnings in r300_texstate.c (Jeff Smith)
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/r300/r300_texstate.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_texstate.c b/src/mesa/drivers/dri/r300/r300_texstate.c
index 55d82548901..b06629ca13a 100644
--- a/src/mesa/drivers/dri/r300/r300_texstate.c
+++ b/src/mesa/drivers/dri/r300/r300_texstate.c
@@ -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);