al_get_render_state(3) al_get_render_state(3)

al_get_render_state - Allegro 5 API

#include <allegro5/allegro.h>
int al_get_render_state(ALLEGRO_RENDER_STATE state)

Returns one of several render attributes; see ALLEGRO_RENDER_STATE(3) for details.

This function will return -1 when there is no current display.

5.2.10

al_set_render_state(3), ALLEGRO_RENDER_STATE(3), ALLEGRO_RENDER_FUNCTION(3), ALLEGRO_WRITE_MASK_FLAGS(3)

Allegro reference manual