Re: [AD] al_get_num_display_modes and al_get_display_mode

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


Peter Wang wrote:
2009/3/18 Trent Gamblin <trent@xxxxxxxxxx>:
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?

What's the status of this bug?
I'm still planning to release 4.9.9 this Sunday.

The patch I've just commited is supposed to fix this: http://www.allegro.cc/forums/thread/599604 I think that was the same issue.


--
Milan Mimica
http://sparklet.sf.net




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