On Tue, Nov 9, 2010 at 1:34 PM, Evert Glebbeek
<eglebbk@xxxxxxxxxx> wrote:
On 9 Nov 2010, at 7:10 , Elias Pschernig wrote:
> Getting ALLEGRO_EVENT_DISPLAY_RESIZE events in response to al_resize_display can be nice since you could handle all resizes in your event handler, whether it's a user-initiated or program-initiated resize. At the same time there's no need to require an al_acknowledge_resize after al_resize_display.
But then you're not really handling anything, are you? :P
Well, you might do additional game-specific things, like using a new scaling transform, use a different UI layout, re-load different fonts for the new size... but yes, you would have that in a function anyway so no big deal whether you call it from one or from two places.