From aa66f57a5966703d11e20f3c596d8d588a1c7176 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michel=20D=C3=A4nzer?= Date: Thu, 12 Feb 2009 19:46:08 +0100 Subject: [PATCH] gallium/winsys/xlib: Use XShmPutImage when possible. --- src/gallium/winsys/xlib/xlib_softpipe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/winsys/xlib/xlib_softpipe.c b/src/gallium/winsys/xlib/xlib_softpipe.c index 846b48b..d8aa485 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; } -- 2.7.4