From 95080ca8d4f0cbda9015f664335c32a411a86572 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 28 Dec 2012 12:13:07 -0800 Subject: [PATCH] glx: Add a little comment about what dri2FlushFrontBuffer() does. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák --- src/glx/dri2_glx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c index 78a2a42ddab..2686f3ba4d8 100644 --- a/src/glx/dri2_glx.c +++ b/src/glx/dri2_glx.c @@ -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) { -- 2.30.2