From aa66f57a5966703d11e20f3c596d8d588a1c7176 Mon Sep 17 00:00:00 2001 From: Michel Dänzer Date: Thu, 12 Feb 2009 19:46:08 +0100 Subject: gallium/winsys/xlib: Use XShmPutImage when possible. --- src/gallium/winsys/xlib/xlib_softpipe.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/winsys/xlib') 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; } -- cgit v1.2.3