diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2023-11-02 04:53:47 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2023-11-02 04:53:47 +0000 |
commit | b44518130b33cadb5c1d619e9e936ae0e0dbf7cb (patch) | |
tree | 6069eb03c39fbc79808a7d94f857118cce75cbe3 /lib/mesa/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c | |
parent | 32aeb3c41fedbbd7b11aacfec48e8f699d16bff0 (diff) |
Merge Mesa 23.1.9
Diffstat (limited to 'lib/mesa/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c')
-rw-r--r-- | lib/mesa/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c b/lib/mesa/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c index 57e130840..4777ce8d9 100644 --- a/lib/mesa/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c +++ b/lib/mesa/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c @@ -32,7 +32,7 @@ * Brian Paul */ -#include "pipe/p_format.h" +#include "util/format/u_formats.h" #include "pipe/p_context.h" #include "util/u_inlines.h" #include "util/format/u_format.h" @@ -138,6 +138,7 @@ alloc_shm(struct xlib_displaytarget *buf, unsigned size) return NULL; } + shmctl(shminfo->shmid, IPC_RMID, 0); shminfo->readOnly = False; return shminfo->shmaddr; } |