swrast: flush pending rendering before unmapping buffers
This commit is contained in:
@@ -872,10 +872,11 @@ void
|
||||
_swrast_render_finish( struct gl_context *ctx )
|
||||
{
|
||||
SWcontext *swrast = SWRAST_CONTEXT(ctx);
|
||||
if (swrast->Driver.SpanRenderFinish)
|
||||
swrast->Driver.SpanRenderFinish( ctx );
|
||||
|
||||
_swrast_flush(ctx);
|
||||
|
||||
if (swrast->Driver.SpanRenderFinish)
|
||||
swrast->Driver.SpanRenderFinish( ctx );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user