|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|