diff options
author | Ben Skeggs <[email protected]> | 2005-05-12 03:53:18 +0000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2005-05-12 03:53:18 +0000 |
commit | 69a2f7cdd53f022dcac541a0e03317e105a85494 (patch) | |
tree | 7b2ed330766824fed31b60ff4e30b09b6d5e5dfd /src/mesa/drivers/dri/r300/r300_texstate.c | |
parent | db21f1c84f32d4bd7696774acb86f5480f5138cd (diff) |
fix warnings in r300_texstate.c (Jeff Smith)
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_texstate.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_texstate.c | 8 |
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); |