From: Michel Dänzer Date: Mon, 9 Mar 2009 16:39:14 +0000 (+0100) Subject: scons: Also define USE_XSHM for the glx/xlib state tracker build. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6f768f029f9bc18a8dd34cf13a8a3d764773703;p=mesa.git 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. --- 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',