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:
Keith Whitwell 2010-01-11 12:02:53 +00:00
parent 094525fb23
commit ad74ea2869

View file

@ -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);