mirror of
https://gitlab.com/xonotic/xonotic
synced 2024-12-17 04:14:56 +00:00
using LD_PRELOAD fails because ./all changes it - use -gl_driver instead to select llvmpipe
This commit is contained in:
parent
e654d98b21
commit
5a16f83c68
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user