DOKK / manpages / debian 10 / allegro4-doc / gui_get_screen.3alleg4.en
gui_get_screen(3alleg4) Allegro manual gui_get_screen(3alleg4)

gui_get_screen - Returns the bitmap surface GUI routines draw to. Allegro game programming library.

#include <allegro.h>

BITMAP *gui_get_screen(void);

This function returns the current bitmap surface the GUI routines will use for drawing. Note that this function will return screen if you have called gui_set_screen(NULL) previously, and will never return NULL.

gui_set_screen(3alleg4)

version 4.4.2 Allegro