DOKK / manpages / debian 10 / allegro5-doc / al_is_d3d_device_lost.3alleg5.en
al_is_d3d_device_lost(3alleg5) al_is_d3d_device_lost(3alleg5)

al_is_d3d_device_lost - Allegro 5 API

#include <allegro5/allegro_direct3d.h>
bool al_is_d3d_device_lost(ALLEGRO_DISPLAY *display)
    

Returns a boolean indicating whether or not the Direct3D device belonging to the given display is in a lost state.

Parameters:

display - The display that the device you wish to check is attached to
Allegro reference manual