summaryrefslogtreecommitdiffstats
path: root/networking/modem/device-files/disable_modem.sh
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-07-22 20:02:33 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-07-22 20:02:41 +0200
commit7bb9e9eced42a011f4aa3e74c7c5f1ff579d2081 (patch)
treebebd2daff9ffb1cd06ee42db027192e08afebe9e /networking/modem/device-files/disable_modem.sh
parent7721059d0f2d5bbc68442389c7293674dfd761a2 (diff)
downloadvendor_replicant-scripts-7bb9e9eced42a011f4aa3e74c7c5f1ff579d2081.tar.gz
vendor_replicant-scripts-7bb9e9eced42a011f4aa3e74c7c5f1ff579d2081.tar.bz2
vendor_replicant-scripts-7bb9e9eced42a011f4aa3e74c7c5f1ff579d2081.zip
graphics: fix user interface
The graphics user interface is the following, according to the help: Usage: graphics.sh [faster|compatible] Examples: graphics.sh faster |-> Uses Android's libagl which is faster but some applications like icecat won't work graphics.sh compatible |-> Uses llvmpipe which is slower but more compatible However the code is still expecting the "libagl" or "llvmpipe" arguments: graphics() { new_renderer="$1" # libagl || llvmpipe [...] if [ "${old_renderer}" == "${new_renderer}" ] ; then [...] } This fix the code to by passing the libagl and llvmpipe arguments to the graphics function as it expects, while keeping the same user interface. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'networking/modem/device-files/disable_modem.sh')
0 files changed, 0 insertions, 0 deletions