summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i810/i810tex.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-08-30 23:50:23 +0000
committerBrian Paul <[email protected]>2005-08-30 23:50:23 +0000
commit16fb04ccb5d7631225b49114e8d87b50c9608971 (patch)
treecc8452a6359bf426ac5ccea734dd6f3ea1e57f3d /src/mesa/drivers/dri/i810/i810tex.c
parentf98b9853e10abf60cf90c5b9d3f76e734b5fc8f8 (diff)
added some parenthesis to silence warnings
Diffstat (limited to 'src/mesa/drivers/dri/i810/i810tex.c')
-rw-r--r--src/mesa/drivers/dri/i810/i810tex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i810/i810tex.c b/src/mesa/drivers/dri/i810/i810tex.c
index a86d434db02..f657abe6711 100644
--- a/src/mesa/drivers/dri/i810/i810tex.c
+++ b/src/mesa/drivers/dri/i810/i810tex.c
@@ -455,8 +455,8 @@ i810ChooseTextureFormat( GLcontext *ctx, GLint internalFormat,
case GL_RGBA12:
case GL_RGBA16:
case GL_COMPRESSED_RGBA:
- if ( (format == GL_BGRA) && (type == GL_UNSIGNED_SHORT_1_5_5_5_REV)
- || (format == GL_RGBA) && (type == GL_UNSIGNED_SHORT_5_5_5_1)
+ if ( ((format == GL_BGRA) && (type == GL_UNSIGNED_SHORT_1_5_5_5_REV))
+ || ((format == GL_RGBA) && (type == GL_UNSIGNED_SHORT_5_5_5_1))
|| (internalFormat == GL_RGB5_A1) ) {
return &_mesa_texformat_argb1555;
}