summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-04-28 17:49:50 +0100
committerKeith Whitwell <[email protected]>2009-04-28 18:15:18 +0100
commitc0bff53334194f9d1aada23510123f1591d5512e (patch)
tree420299c11de1cbb7ea19f261095fc15c82b505eb
parent106f2b031cbb83a54fa2949cb07357ecea68b92a (diff)
mesa/main: protect driver.finish with FLUSH_CURRENT
Already doing this for driver.flush()
-rw-r--r--src/mesa/main/context.c1
1 files changed, 1 insertions, 0 deletions
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);
}