From: Rudolf Polzer Date: Tue, 15 Mar 2011 16:19:41 +0000 (+0100) Subject: use vid_soft properly X-Git-Tag: xonotic-v0.5.0~115 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e086e9b10989afb0cac46f22106f2ba12ed041b8;p=xonotic%2Fxonotic.git use vid_soft properly --- diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index e14cc58d..a2947103 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -230,7 +230,7 @@ screenshotthemap() 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-\"" +vid_soft 1 -- /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 fi ) if ! mv ~/.xonotic/data/screenshots "$M-$blobhash"; then diff --git a/misc/tools/xonotic-map-screenshot b/misc/tools/xonotic-map-screenshot index 0d3127e5..e16df917 100755 --- a/misc/tools/xonotic-map-screenshot +++ b/misc/tools/xonotic-map-screenshot @@ -9,6 +9,7 @@ count=`yes x | head -n "$count" | tr -cd x` ./all run \ -nosound \ + +'vid_soft 1' \ +'vid_fullscreen 0' \ +'exec effects-ultimate.cfg' \ "$@" \