call Driver.Flush() in _mesa_notifySwapBuffers()

This commit is contained in:
Brian
2007-10-19 10:12:00 -06:00
parent 2b2f761e2b
commit 96b06ac557
+4 -2
View File
@@ -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);
}
}