From: Ben Skeggs Date: Thu, 12 May 2005 03:53:18 +0000 (+0000) Subject: fix warnings in r300_texstate.c (Jeff Smith) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69a2f7cdd53f022dcac541a0e03317e105a85494;p=mesa.git fix warnings in r300_texstate.c (Jeff Smith) --- 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);