softgpu: Avoid unnecessary flushing for curves.
We don't need to flush all drawing between curves in softgpu, let them queue up.
This commit is contained in:
parent
337518415e
commit
fc39f042ae
4 changed files with 9 additions and 3 deletions
|
@ -577,7 +577,8 @@ void DrawEngineCommon::SubmitCurve(const void *control_points, const void *indic
|
|||
if (output.count)
|
||||
DispatchSubmitPrim(output.vertices, output.indices, PatchPrimToPrim(surface.primType), output.count, vertTypeID, gstate.getCullMode(), &generatedBytesRead);
|
||||
|
||||
DispatchFlush();
|
||||
if (flushOnParams_)
|
||||
DispatchFlush();
|
||||
|
||||
if (origVertType & GE_VTYPE_TC_MASK) {
|
||||
gstate_c.uv = prevUVScale;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue