Re: [AD] Display option change function

[ Thread Index | Date Index | More Archives ]

On 2011-10-11, at 10:42 AM, Elias Pschernig wrote:
> Wouldn't it work if you essentially do this when toggling the fullscreen
> flag under Windows:
> al_destroy_display(display)
> display = al_create_display(new_width, new_height)
> With the (existing?) code to re-upload all bitmaps of course. Things
> like user-created FBOs and VBOs and shaders would need to be destroyed
> first and then re-created by the user.

Ya, with that code it should be trivial.


Mail converted by MHonArc 2.6.19+