Module: Mesa Branch: gallium-mesa-7.4 Commit: 04dd0019bf473dfcd687ba99f264b8aa91bb6de7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=04dd0019bf473dfcd687ba99f264b8aa91bb6de7
Author: Michel Dänzer <daen...@vmware.com> Date: Thu Feb 12 19:46:08 2009 +0100 gallium/winsys/xlib: Use XShmPutImage when possible. --- src/gallium/winsys/xlib/xlib_softpipe.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/gallium/winsys/xlib/xlib_softpipe.c b/src/gallium/winsys/xlib/xlib_softpipe.c index 58c9b0b..756af4a 100644 --- a/src/gallium/winsys/xlib/xlib_softpipe.c +++ b/src/gallium/winsys/xlib/xlib_softpipe.c @@ -179,6 +179,8 @@ alloc_shm_ximage(struct xm_buffer *b, struct xmesa_buffer *xmb, (void) XSetErrorHandler(old_handler); return; } + + b->shm = 1; } #endif /* USE_XSHM */ _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit