From: Michel Dänzer Date: Thu, 12 Feb 2009 18:46:08 +0000 (+0100) Subject: gallium/winsys/xlib: Use XShmPutImage when possible. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa66f57a5966703d11e20f3c596d8d588a1c7176;p=mesa.git gallium/winsys/xlib: Use XShmPutImage when possible. --- diff --git a/src/gallium/winsys/xlib/xlib_softpipe.c b/src/gallium/winsys/xlib/xlib_softpipe.c index 846b48b4ffb..d8aa4856dc9 100644 --- a/src/gallium/winsys/xlib/xlib_softpipe.c +++ b/src/gallium/winsys/xlib/xlib_softpipe.c @@ -170,6 +170,8 @@ alloc_shm_ximage(struct xm_buffer *b, struct xmesa_buffer *xmb, (void) XSetErrorHandler(old_handler); return; } + + b->shm = 1; }