diff options
author | Michel Dänzer <[email protected]> | 2009-02-12 19:46:08 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2009-02-12 19:46:08 +0100 |
commit | aa66f57a5966703d11e20f3c596d8d588a1c7176 (patch) | |
tree | 7ff22c052dbd4036483e1cec1430de7444d2c0a8 /src/gallium/winsys/xlib/xlib_softpipe.c | |
parent | 2142bf5e17d699396772b90ee5b2592289334f28 (diff) |
gallium/winsys/xlib: Use XShmPutImage when possible.
Diffstat (limited to 'src/gallium/winsys/xlib/xlib_softpipe.c')
-rw-r--r-- | 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 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; } |