Re: [AD] fbcon directcolor modes patch, and possible other patches |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2005-11-18, Vincent Penecherc'h <Vincent.Penecherch@xxxxxxxxxx> wrote:
> > > It looks like the __al_linux_console_graphics() call will cause the
> > > current video mode to be saved, then restored when
> > > __al_linux_console_text() is called. If I am right, a better
> > > fix is to
> > > move the __al_linux_console_graphics() call to before the video mode
> > > gets set. Further investigation required.
>
> It does also work, since the nesting is also preserved.
> Here's a patch for it if you prefer to do it in this order.
> It adds more cleanup calls though.
>
> While there, I actually had some free time, so I fixed the
> palette going awry on switching back to the Allegro VT (same
> problem as the mode select). Later, I'll probably make it so
> the directcolor palette is saved on switch out, and restore
> that. set_ramp_colormap is also rewritten (better, hopefully).
>
> I also implemented get_refresh_rate.
Sorry about the delay. Committed all three patches.
Peter