Revision 32676
branches/gvSIG_19_ext3D_osgVP_2_2_0/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=/usr/lib/libGL.so
|
|
16 |
export LD_PRELOAD=$(find /usr/lib -type f -name libGL.*)
|
|
17 | 17 |
fi |
18 | 18 |
done |
19 | 19 |
|
Also available in: Unified diff