Re: [AD] fbcon directcolor modes patch, and possible other patches

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2005-11-14, Vincent Penecherc'h <Vincent.Penecherch@xxxxxxxxxx> wrote:
> 
> > > and found two annoying things with the FB driver.
> > > 
> > > - it needs two mode sets to actually set the mode properly
> > > - directcolor modes don't set a ramp colormap, and thus get
> > >   a buggered palette
> > 
> > Can you describe this a bit more?
> 
> It was indeed the pitch. After changing the resolution, the
> pitch would have changed, but Allegro kept on using the old
> one.
> This fixes it.

Works for me, too, but then I also tested with radeonfb.  I also tested
your ramp colour map patch.  Committed them both.

Do you get the problem that the original video mode doesn't get restored
after the Allegro program quits?  As it is, running exhello leaves me
with a 40x12 console.

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/