xbmc: keep AMD vsync "let driver decide"

This commit is contained in:
Stefan Saraev 2014-01-20 21:02:50 +02:00
parent 4eae34f2be
commit 3dbdb98f81

View File

@ -89,9 +89,8 @@ EOF
if which lspci >/dev/null; then
GPUDEVICE=$(lspci -n | grep 0300)
[ "$(echo $GPUDEVICE | grep 10de)" ] && GPUTYPE="NVIDIA" # 10de == NVIDIA
[ "$(echo $GPUDEVICE | grep 1002)" ] && GPUTYPE="AMD" # 1002 == AMD
fi
if [ "$GPUTYPE" = "NVIDIA" -o "$GPUTYPE" = "AMD" ] ; then
if [ "$GPUTYPE" = "NVIDIA" ] ; then
cat >> $HOME/.xbmc/userdata/guisettings.xml << EOF
<videoscreen>
<vsync>2</vsync>