using LD_PRELOAD fails because ./all changes it - use -gl_driver instead to select llvmpipe

This commit is contained in:
Rudolf Polzer 2011-03-08 22:45:53 +01:00
parent e654d98b21
commit 5a16f83c68

View File

@ -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