summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {