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 10:21 am, Elias Pschernig said:
> And maybe a better API would be:
>
> int al_get_num_display_formats()
> int al_get_display_format_option(int i, int option)
> al_set_new_display_format(int i)
>
> Where option could be any of the options passed to
> al_set_new_display_option. That way we would not have to introduce a new
> type at all. All the implementations (D3D, WGL, GLX, AGL) of course
> internally would have to keep a list of supported display formats, so a
> bit of implementation work.

That sounds good. We will need a refresh rate display option but we
should have one of those either way anyway. I'll start working on it
when I get some time.

Trent :{)>




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