Sponsor:

Your company here, and a link to your site. Click to find out more.

al_resize_display - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

bool al_resize_display(ALLEGRO_DISPLAY *display, int width, int height)

Description

Resize the display. Returns true on success, or false on error. This works on both fullscreen and windowed displays, regardless of the ALLEGRO_RESIZABLE flag.

Adjusts the clipping rectangle to the full size of the backbuffer.

See Also

al_acknowledge_resize(3)

Referenced By

al_acknowledge_resize(3).

Allegro reference manual