mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-06 01:40:26 +01:00
swrast: flush pending rendering before unmapping buffers
This commit is contained in:
parent
33257803d9
commit
fc9f74839d
1 changed files with 3 additions and 2 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue