From: Rudolf Polzer Date: Thu, 1 Dec 2011 12:14:16 +0000 (+0100) Subject: also support "driver flags" :P X-Git-Tag: xonotic-v0.6.0~59 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=541b994d584287efc35d0fa27e288054d8e17ce8;p=xonotic%2Fxonotic.git also support "driver flags" :P --- diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index 867f9378..bfead991 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -230,10 +230,10 @@ screenshotthemap() else case "$DRIVER" in gl) - 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 $DRIVERFLAGS +"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 + startx "$PWD/misc/tools/xonotic-map-screenshot" "$M" $screenshot_override +"vid_soft 1" $DRIVERFLAGS +"scr_screenshot_name \"$M-\"" -- /usr/bin/Xvfb :8 -screen 0 1024x768x24 ;; esac fi