From: Keith Whitwell Date: Tue, 28 Apr 2009 16:49:50 +0000 (+0100) Subject: mesa/main: protect driver.finish with FLUSH_CURRENT X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c0bff53334194f9d1aada23510123f1591d5512e;p=mesa.git mesa/main: protect driver.finish with FLUSH_CURRENT Already doing this for driver.flush() --- diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 4469c8e1fa1..016284de9aa 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1497,6 +1497,7 @@ _mesa_Finish(void) { GET_CURRENT_CONTEXT(ctx); ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx); + FLUSH_CURRENT( ctx, 0 ); if (ctx->Driver.Finish) { ctx->Driver.Finish(ctx); }