Mesa (gallium-mesa-7.4): scons: Also define USE_XSHM for the glx/ xlib state tracker build.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Wed Mar 25 08:20:44 PDT 2009
Module: Mesa
Branch: gallium-mesa-7.4
Commit: f1668b5318b6d1f28be594d49fab809989d068a4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1668b5318b6d1f28be594d49fab809989d068a4
Author: Michel Dänzer <daenzer at vmware.com>
Date: Mon Mar 9 17:39:14 2009 +0100
scons: Also define USE_XSHM for the glx/xlib state tracker build.
Fixes an inconsisten definition of struct xmesa_buffer between there and
winsys/xlib, resulting in a crash in XPutImage.
---
src/gallium/state_trackers/glx/xlib/SConscript | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/gallium/state_trackers/glx/xlib/SConscript b/src/gallium/state_trackers/glx/xlib/SConscript
index 01641e9..0dbe341 100644
--- a/src/gallium/state_trackers/glx/xlib/SConscript
+++ b/src/gallium/state_trackers/glx/xlib/SConscript
@@ -14,6 +14,8 @@ if env['platform'] == 'linux' \
'#/src/mesa/main',
])
+ env.Append(CPPDEFINES = ['USE_XSHM'])
+
st_xlib = env.ConvenienceLibrary(
target = 'st_xlib',
source = [ 'glxapi.c',
More information about the mesa-commit
mailing list