glx: Add a little comment about what dri2FlushFrontBuffer() does.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
This commit is contained in:
Eric Anholt
2012-12-28 12:13:07 -08:00
parent c093f12406
commit 95080ca8d4

View File

@@ -645,6 +645,10 @@ dri2_wait_gl(struct glx_context *gc)
dri2_copy_drawable(priv, DRI2BufferFrontLeft, DRI2BufferFakeFrontLeft);
}
/**
* Called by the driver when it needs to update the real front buffer with the
* contents of its fake front buffer.
*/
static void
dri2FlushFrontBuffer(__DRIdrawable *driDrawable, void *loaderPrivate)
{