projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
094525f
)
st/mesa: early exit on error path
author
Keith Whitwell
<keithw@vmware.com>
Mon, 11 Jan 2010 12:02:53 +0000
(12:02 +0000)
committer
Keith Whitwell
<keithw@vmware.com>
Mon, 11 Jan 2010 12:02:53 +0000
(12:02 +0000)
Can't rely on asserts having any effect on flowcontrol for release
builds.
src/mesa/state_tracker/st_cb_condrender.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_condrender.c
b/src/mesa/state_tracker/st_cb_condrender.c
index 780b40c206502da5303e3dd6f56a834f87b7edbd..e2cd80b40461fbf05951e74ab7ceb371d3a796bb 100644
(file)
--- 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");
+ return;
}
pipe->render_condition(pipe, stq->pq, m);