mesa/main: protect driver.finish with FLUSH_CURRENT
Already doing this for driver.flush()
This commit is contained in:
@@ -1497,6 +1497,7 @@ _mesa_Finish(void)
|
|||||||
{
|
{
|
||||||
GET_CURRENT_CONTEXT(ctx);
|
GET_CURRENT_CONTEXT(ctx);
|
||||||
ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
|
ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
|
||||||
|
FLUSH_CURRENT( ctx, 0 );
|
||||||
if (ctx->Driver.Finish) {
|
if (ctx->Driver.Finish) {
|
||||||
ctx->Driver.Finish(ctx);
|
ctx->Driver.Finish(ctx);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user