From: Rudolf Polzer Date: Tue, 8 Mar 2011 21:45:53 +0000 (+0100) Subject: using LD_PRELOAD fails because ./all changes it - use -gl_driver instead to select... X-Git-Tag: xonotic-v0.5.0~121 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5a16f83c68b7a31d0d90092433b08e16e7a7e3c7;p=xonotic%2Fxonotic.git using LD_PRELOAD fails because ./all changes it - use -gl_driver instead to select llvmpipe --- diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index 564b1221..678634ad 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -229,8 +229,7 @@ screenshotthemap() misc/tools/xonotic-map-screenshot "$M" $screenshot_override +"scr_screenshot_name \"$M-\"" else #startx "$PWD/misc/tools/xonotic-map-screenshot" "$M" $screenshot_override +"scr_screenshot_name \"$M-\"" -- :8 - LD_LIBRARY_PATH=/usr/local/lib/gallium3d \ - startx "$PWD/misc/tools/xonotic-map-screenshot" "$M" $screenshot_override +"scr_screenshot_name \"$M-\"" -- /usr/bin/Xvfb :8 -screen 0 1024x768x24 + startx "$PWD/misc/tools/xonotic-map-screenshot" "$M" -gl_driver /usr/local/lib/gallium3d/libGL.so $screenshot_override +"scr_screenshot_name \"$M-\"" -- /usr/bin/Xvfb :8 -screen 0 1024x768x24 fi ) if ! mv ~/.xonotic/data/screenshots "$M-$blobhash"; then