summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/mesa/src/gallium/drivers/r300/compiler/radeon_emulate_branches.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/drivers/r300/compiler/radeon_emulate_branches.c b/lib/mesa/src/gallium/drivers/r300/compiler/radeon_emulate_branches.c
index eab0d7e9d..7bede344f 100644
--- a/lib/mesa/src/gallium/drivers/r300/compiler/radeon_emulate_branches.c
+++ b/lib/mesa/src/gallium/drivers/r300/compiler/radeon_emulate_branches.c
@@ -112,7 +112,7 @@ static struct proxy_info * get_proxy_info(struct state_and_proxies * sap,
if (file == RC_FILE_TEMPORARY) {
return &sap->Proxies->Temporary[index];
} else {
- return NULL;
+ return 0;
}
}