projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
106f2b0
)
mesa/main: protect driver.finish with FLUSH_CURRENT
author
Keith Whitwell
<keithw@vmware.com>
Tue, 28 Apr 2009 16:49:50 +0000
(17:49 +0100)
committer
Keith Whitwell
<keithw@vmware.com>
Tue, 28 Apr 2009 17:15:18 +0000
(18:15 +0100)
Already doing this for driver.flush()
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index 4469c8e1fa132fb8f13b9454b12115755675c8dd..016284de9aa2c272ac9c181bfa9a2167e11bd59d 100644
(file)
--- 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);
}