summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_texstate.c
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2007-06-07 13:19:47 +0000
committerOliver McFadden <[email protected]>2007-06-07 13:19:47 +0000
commit10d5dd685c155d8e7a8f447bcc19a7a59393ec2e (patch)
tree40bc21a3b6d1aceb67780cb6c38f187dbc7ffd5b /src/mesa/drivers/dri/r300/r300_texstate.c
parent8331d9d7aa7cde7126d38d4e1eb5fe8a168077f3 (diff)
r300: Cleaned up long lines in r300Choose8888TexFormat.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_texstate.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_texstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_texstate.c b/src/mesa/drivers/dri/r300/r300_texstate.c
index ac5a5ba1cd4..1d2909fd214 100644
--- a/src/mesa/drivers/dri/r300/r300_texstate.c
+++ b/src/mesa/drivers/dri/r300/r300_texstate.c
@@ -480,11 +480,11 @@ static GLboolean r300UpdateTexture(GLcontext * ctx, int unit)
*/
rmesa->state.texture.unit[unit].texobj->base.bound &=
- ~(1UL << unit);
+ ~(1 << unit);
}
rmesa->state.texture.unit[unit].texobj = t;
- t->base.bound |= (1UL << unit);
+ t->base.bound |= (1 << unit);
t->dirty_state |= 1 << unit;
driUpdateTextureLRU((driTextureObject *) t); /* XXX: should be locked! */
}