mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
st/mesa: early exit on error path
Can't rely on asserts having any effect on flowcontrol for release builds.
This commit is contained in:
parent
094525fb23
commit
ad74ea2869
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue