Re: [AD] al_get_num_display_modes and al_get_display_mode |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
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().
-- Milan Mimica http://sparklet.sf.net
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |