Module: Mesa
Branch: master
Commit: aa66f57a5966703d11e20f3c596d8d588a1c7176
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa66f57a5966703d11e20f3c596d8d588a1c7176

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 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;
 }
 
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to