mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-03-05 10:57:31 +00:00
make SW rendering an option in screenshot making
This commit is contained in:
parent
a017259636
commit
e4152eb8d0
@ -228,9 +228,14 @@ screenshotthemap()
|
||||
if [ -n "$DISPLAY" ]; then
|
||||
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
|
||||
#startx "$PWD/misc/tools/xonotic-map-screenshot" "$M" $screenshot_override +"scr_screenshot_name \"$M-\"" -gl_driver /usr/local/lib/gallium3d/libGL.so -- /usr/bin/Xvfb :8 -screen 0 1024x768x24
|
||||
startx "$PWD/misc/tools/xonotic-map-screenshot" "$M" $screenshot_override +"scr_screenshot_name \"$M-\"" -- /usr/bin/Xvfb :8 -screen 0 1024x768x24
|
||||
case "$DRIVER" in
|
||||
gl)
|
||||
startx "$PWD/misc/tools/xonotic-map-screenshot" "$M" $screenshot_override +"scr_screenshot_name \"$M-\"" -- :8
|
||||
;;
|
||||
soft|*)
|
||||
startx "$PWD/misc/tools/xonotic-map-screenshot" "$M" $screenshot_override +"vid_soft 1" +"scr_screenshot_name \"$M-\"" -- /usr/bin/Xvfb :8 -screen 0 1024x768x24
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
)
|
||||
if ! mv ~/.xonotic/data/screenshots "$M-$blobhash"; then
|
||||
|
@ -13,7 +13,6 @@ count=`yes x | head -n "$count" | tr -cd x`
|
||||
+'scr_screenshot_timestamp 0' \
|
||||
+'vid_fullscreen 0' \
|
||||
+'exec effects-ultimate.cfg' \
|
||||
+'vid_soft 1' \
|
||||
"$@" \
|
||||
+'r_motionblur 0' \
|
||||
+'r_damageblur 0' \
|
||||
|
Loading…
Reference in New Issue
Block a user