Re: [AD] al_update_display_region |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Fri, 2009-02-27 at 10:51 -0700, Trent Gamblin wrote:
> On Fri, February 27, 2009 10:48 am, Elias Pschernig said:
> > 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)
>
> If we do that we might as well just make it al_create_display(int i),
> right? The display modes have width and height info in them too.
>
Hm, true. Maybe we should have another enumeration instead?
int al_get_num_display_formats()
al_get_display_format(int i)
Because you might want to use a different width/height that the one in
the returned ALLEGRO_MODE.
--
Elias Pschernig <elias@xxxxxxxxxx>