summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_cb_condrender.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-01-26 16:37:10 -0800
committerVinson Lee <vlee@vmware.com>2010-01-26 16:39:25 -0800
commit1187a3c957578355f0e4475d45a4eab4c13d4cd8 (patch)
treebfd6078f4bc4fd7e50fea32fee1da020c91f2c6f /src/mesa/state_tracker/st_cb_condrender.c
parent63b10e8fe71c1de5b0ee9aac72fd7303551f59a0 (diff)
st/mesa: Silence uninitialized variable warning.
Diffstat (limited to 'src/mesa/state_tracker/st_cb_condrender.c')
-rw-r--r--src/mesa/state_tracker/st_cb_condrender.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_condrender.c b/src/mesa/state_tracker/st_cb_condrender.c
index 780b40c206..8483b93bd8 100644
--- a/src/mesa/state_tracker/st_cb_condrender.c
+++ b/src/mesa/state_tracker/st_cb_condrender.c
@@ -69,6 +69,7 @@ st_BeginConditionalRender(GLcontext *ctx, struct gl_query_object *q,
break;
default:
assert(0 && "bad mode in st_BeginConditionalRender");
+ m = PIPE_RENDER_COND_WAIT;
}
pipe->render_condition(pipe, stq->pq, m);