Re: [AD] al_get_num_display_modes and al_get_display_mode

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


On Tue, March 17, 2009 12:23 pm, Milan Mimica said:
> Trent Gamblin wrote:
>> They were using the values set by al_set_new_display_format but we don't have
>> that any longer, and to replace al_get_new_display_format, _al_deduce_color_format was added. This doesn't work
>> unless
>> the user sets up his desired graphics mode entirely first
>
> No, that's it.
> _al_get_new_display_settings() returns what the user has set, it doesn't need
> the graphics mode to be set up at all. The problem is tls->new_display_settings
> is NULL. al_init() should call al_reset_display_options().

Ok, then do we need to change anything except adding that call to al_init?

Trent :{)>




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