]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
using LD_PRELOAD fails because ./all changes it - use -gl_driver instead to select...
authorRudolf Polzer <divverent@alientrap.org>
Tue, 8 Mar 2011 21:45:53 +0000 (22:45 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 8 Mar 2011 21:45:53 +0000 (22:45 +0100)
misc/tools/xonotic-map-compiler-autobuild

index 564b1221620d5a8ad5d4c9e72aeca7d044b5936a..678634ad2d4bb360e0e81e0956808af68941f7ab 100755 (executable)
@@ -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