al_is_d3d_device_lost man page

al_is_d3d_device_lost — Allegro 5 API

Synopsis

#include <allegro5/allegro_direct3d.h>

bool al_is_d3d_device_lost(ALLEGRO_DISPLAY *display)

Description

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

Info

Allegro reference manual