summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_debug.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-05-22 13:45:20 +0200
committerMarek Olšák <maraeo@gmail.com>2010-05-23 17:13:31 +0200
commit98630a900e78ec7ee598679c27c25923c1ffb929 (patch)
tree392c2c20a59d98a14251e10fad05957bb5f5a119 /src/gallium/drivers/r300/r300_debug.c
parenta3ef2fb9c48001580497049df87c210c367fb81e (diff)
downloadexternal_mesa3d-98630a900e78ec7ee598679c27c25923c1ffb929.zip
external_mesa3d-98630a900e78ec7ee598679c27c25923c1ffb929.tar.gz
external_mesa3d-98630a900e78ec7ee598679c27c25923c1ffb929.tar.bz2
r300g: fix warnings
Diffstat (limited to 'src/gallium/drivers/r300/r300_debug.c')
-rw-r--r--src/gallium/drivers/r300/r300_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_debug.c b/src/gallium/drivers/r300/r300_debug.c
index 85a1aa7..024731a 100644
--- a/src/gallium/drivers/r300/r300_debug.c
+++ b/src/gallium/drivers/r300/r300_debug.c
@@ -126,9 +126,9 @@ void r500_dump_rs_block(struct r300_rs_block *rs)
j = 3;
do {
- if (tex_ptr & 0x3f == 63) {
+ if ((tex_ptr & 0x3f) == 63) {
fprintf(stderr, "1.0");
- } else if (tex_ptr & 0x3f == 62) {
+ } else if ((tex_ptr & 0x3f) == 62) {
fprintf(stderr, "0.0");
} else {
fprintf(stderr, "[%d]", tex_ptr & 0x3f);