diff options
author | Eric Anholt <eric@anholt.net> | 2012-12-28 12:13:07 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-02-07 13:13:02 -0800 |
commit | 95080ca8d4f0cbda9015f664335c32a411a86572 (patch) | |
tree | d801de7bda2efd61c7ad754b18e24d1ec0b28e67 | |
parent | c093f12406d3e6e053ed1f6f9b552cd696053748 (diff) | |
download | external_mesa3d-95080ca8d4f0cbda9015f664335c32a411a86572.zip external_mesa3d-95080ca8d4f0cbda9015f664335c32a411a86572.tar.gz external_mesa3d-95080ca8d4f0cbda9015f664335c32a411a86572.tar.bz2 |
glx: Add a little comment about what dri2FlushFrontBuffer() does.
Reviewed-by: Marek Olšák <maraeo@gmail.com>
-rw-r--r-- | src/glx/dri2_glx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c index 78a2a42..2686f3b 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) { |