Re: [AD] al_update_display_region

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


On Fri, 2009-02-27 at 10:16 -0700, Trent Gamblin wrote:
> On Fri, February 27, 2009 8:32 am, Elias Pschernig said:
> > Can you post the scorer log when running the current ex_expose?
> 
> Sure, it's attached.
> 

I see, most of the debug info was actually in the GLX specific part. I
figured it out though, I guess we can say the use of
al_set_new_display_format without first enumerating all supported format
is a user mistake. Therefore I propose we replace
al_set_new_display_format() with a new function:

al_set_new_display_mode(int i)

And i is an index 0..n where n is returned by
al_get_num_display_modes().

This means there is no more guess-work as to what pixel formats might be
available.

-- 
Elias Pschernig <elias@xxxxxxxxxx>





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