hi pals,
i've found a bug in the decision for the
biggest graphics. it came, that while the call for _gr_selectmode had found a
highly impressive mode of 1280*1024*4 (4 is the default color number for
vga/vesa), in the inherited drivers it would settle for a best of 320*200*4
mode, because this is the first mode to match the colors number. i've changed
the line in _gr_selectmode
from
# define
ERROR(des,act) ((des > act) ? ((des - act) + 20000) : (act -
des))
to
#
define ERROR(des,act) ((des >= act) ? ((des - act) + 20000) :
(act - des))
and it apears no to
settle for less. it will be better tested in an environment where the driver may
find a better match in the inherited modes.
please test it further, if you know
there is such environment.
nb: i'm asking for further testing,
since it got late and i can't concentrate. but the algorithm is somewhat error
prone.
best wishes,
alex