diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2008-04-30 21:42:23 +1000 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-04-30 21:42:23 +1000 |
commit | 1e6191e0af2653aa69bd623e25d2e157662e560f (patch) | |
tree | d4a603e082aa08c05e27528d848e5f5a9b06ff82 /src/gallium/winsys | |
parent | 95295081a8557f0b63cd89f387205d5abe772788 (diff) | |
parent | 42fb48492e71016c5a2888cd3d2507a89dbd91f3 (diff) |
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/xlib/xm_winsys.c | 7 |
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); |