]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
also support "driver flags" :P
authorRudolf Polzer <divverent@alientrap.org>
Thu, 1 Dec 2011 12:14:16 +0000 (13:14 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 1 Dec 2011 12:14:16 +0000 (13:14 +0100)
misc/tools/xonotic-map-compiler-autobuild

index 867f9378e50f6eed99a6b924ae7e971258ecaaba..bfead9912d175f0efe262804a30754372f3fda0a 100755 (executable)
@@ -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