al_is_d3d_device_lost
bool al_is_d3d_device_lost(ALLEGRO_DISPLAY *display)
Introduced in 5.0.0
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
Most helpful discussions: