Revision 24

View differences:

1.10/trunk/binaries/linux/3D/detect_videodriver.sh
13 13
do
14 14
echo "You are using driver" $driver;
15 15
if [ "$driver" = "Mesa" ]; then
16
	export LD_PRELOAD=$(find /usr/lib -type f -name libGL.*)
16
	pathtoGL=$(find /usr/lib/mesa -type f -name libGL.*);
17
        if  [ "$pathtoGL" = "" ]; then
18
                pathtoGL=$(find /usr/lib/ -type f -name libGL.*);
19
        fi
20
        export LD_PRELOAD=$pathtoGL;
17 21
fi 
18 22
done
19 23

  

Also available in: Unified diff