projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b2f761
)
call Driver.Flush() in _mesa_notifySwapBuffers()
author
Brian
<brian.paul@tungstengraphics.com>
Fri, 19 Oct 2007 16:12:00 +0000
(10:12 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Fri, 19 Oct 2007 16:12:00 +0000
(10:12 -0600)
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index 00e4c8328e559edc2047de55d091f5a9ca1332f0..e8335e19cacc28bbf29da8e16ee1e15de0db75cc 100644
(file)
--- a/
src/mesa/main/context.c
+++ b/
src/mesa/main/context.c
@@
-163,9
+163,11
@@
free_shared_state( GLcontext *ctx, struct gl_shared_state *ss );
* We have to finish any pending rendering.
*/
void
-_mesa_notifySwapBuffers(__GLcontext *
gc
)
+_mesa_notifySwapBuffers(__GLcontext *
ctx
)
{
- FLUSH_VERTICES( gc, 0 );
+ if (ctx->Driver.Flush) {
+ ctx->Driver.Flush(ctx);
+ }
}