aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/glx
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2009-03-09 17:39:14 +0100
committerMichel Dänzer <[email protected]>2009-03-09 17:39:14 +0100
commita6f768f029f9bc18a8dd34cf13a8a3d764773703 (patch)
treeb40400823c3273862fe0ebd4c38d67b7209a7347 /src/gallium/state_trackers/glx
parent886ceb556e1f6ba1e51a33abd9b8c3d8214d2554 (diff)
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.
Diffstat (limited to 'src/gallium/state_trackers/glx')
-rw-r--r--src/gallium/state_trackers/glx/xlib/SConscript2
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 01641e90e47..0dbe3413972 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',