summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_debug.c
diff options
context:
space:
mode:
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 85a1aa7b06e..024731a22ab 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);