Re: [AD] X mode restoring.

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


On Mon, Jan 3, 2011 at 3:55 AM, Elias Pschernig
<elias.pschernig@xxxxxxxxxx> wrote:
> If you mean the part I added recently, it's to make this work:
>
> new_display = al_create_display(...);
> if (new_display) {
>     al_destroy_display(old_display);
> }
>
Is there a reason why Allegro doesn't explicitly destroy the existing
full screen display if another one is set on the same adapter
(regardless if it exceeds or not)? Sans documentation, that is how I
would expect it to work.

(Sorry if this is kicking around a prior dead topic.)

--
Matthew Leverton




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