diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-04-28 17:49:50 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-04-28 18:15:18 +0100 |
commit | c0bff53334194f9d1aada23510123f1591d5512e (patch) | |
tree | 420299c11de1cbb7ea19f261095fc15c82b505eb | |
parent | 106f2b031cbb83a54fa2949cb07357ecea68b92a (diff) |
mesa/main: protect driver.finish with FLUSH_CURRENT
Already doing this for driver.flush()
-rw-r--r-- | src/mesa/main/context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 4469c8e1fa..016284de9a 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); } |