summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-09-30 23:06:51 +0200
committerMarek Olšák <[email protected]>2011-09-30 23:20:27 +0200
commitaae342cff098034b6f685a81ecb4cd5e3fa92162 (patch)
treeec10be2130419d7a4290de43a376cbd63b0121a8 /src/gallium/drivers
parent74d6f929b45c7f2cca8af227ba8dc259b528c4c0 (diff)
r600g: fix a compiler warning
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/r600_hw_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c
index d261e2a4a63..9d6b0534c98 100644
--- a/src/gallium/drivers/r600/r600_hw_context.c
+++ b/src/gallium/drivers/r600/r600_hw_context.c
@@ -1617,6 +1617,7 @@ void r600_query_begin(struct r600_context *ctx, struct r600_query *query)
break;
default:
assert(0);
+ return;
}
if ((required_space + ctx->pm4_cdwords) > ctx->pm4_ndwords) {