summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-04-25 17:50:48 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-04-29 18:35:30 -0600
commitd0b2561c57763db196b45ab052a01a12fc37b06f (patch)
treedaad7259941b686f1d79dc5ca60e37addaa28cf1 /src
parent62a29412b90008a247fd3b61f1b882df2e5e81c1 (diff)
gallium: updated comment in xm_flush_frontbuffer()
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/xlib/xm_winsys.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/winsys/xlib/xm_winsys.c b/src/gallium/winsys/xlib/xm_winsys.c
index 5a424d0ac7..8a89278cde 100644
--- a/src/gallium/winsys/xlib/xm_winsys.c
+++ b/src/gallium/winsys/xlib/xm_winsys.c
@@ -296,10 +296,9 @@ xm_flush_frontbuffer(struct pipe_winsys *pws,
struct pipe_surface *surf,
void *context_private)
{
- /* The Xlib driver's front color surfaces are actually X Windows so
- * this flush is a no-op.
- * If we instead did front buffer rendering to a temporary XImage,
- * this would be the place to copy the Ximage to the on-screen Window.
+ /*
+ * The front color buffer is actually just another XImage buffer.
+ * This function copies that XImage to the actual X Window.
*/
XMesaContext xmctx = (XMesaContext) context_private;
xmesa_display_surface(xmctx->xm_buffer, surf);