glx: Add a little comment about what dri2FlushFrontBuffer() does.
authorEric Anholt <eric@anholt.net>
Fri, 28 Dec 2012 20:13:07 +0000 (12:13 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 7 Feb 2013 21:13:02 +0000 (13:13 -0800)
Reviewed-by: Marek Olšák <maraeo@gmail.com>
src/glx/dri2_glx.c

index 78a2a42ddab223502f00643d51293ac29092ac1f..2686f3ba4d80db78427458ce6a8f6fe2698b7d5f 100644 (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)
 {