Adding default hook to use mesa glx renderer.
This commit is contained in:
parent
1b87a1ba1a
commit
6ca1504312
|
@ -616,7 +616,8 @@ Set_defaults ()
|
||||||
remove-backup-files \
|
remove-backup-files \
|
||||||
remove-temporary-files \
|
remove-temporary-files \
|
||||||
remove-log-files \
|
remove-log-files \
|
||||||
update-nvidia-alternative}"
|
update-nvidia-alternative \
|
||||||
|
update-glx-alternative}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
kubuntu)
|
kubuntu)
|
||||||
|
@ -635,7 +636,8 @@ Set_defaults ()
|
||||||
remove-backup-files \
|
remove-backup-files \
|
||||||
remove-temporary-files \
|
remove-temporary-files \
|
||||||
remove-log-files \
|
remove-log-files \
|
||||||
update-nvidia-alternative}"
|
update-nvidia-alternative \
|
||||||
|
update-glx-alternative}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Use mesa renderer by default
|
||||||
|
if [ -e /etc/alternatives/glx ]
|
||||||
|
then
|
||||||
|
update-alternatives --quiet --set glx /usr/lib/mesa-diverted
|
||||||
|
fi
|
Loading…
Reference in New Issue