1al_set_d3d_device_restore_callback(3)    al_set_d3d_device_restore_callback(3)
2
3
4

NAME

6       al_set_d3d_device_restore_callback - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_direct3d.h>
10
11              void al_set_d3d_device_restore_callback(
12                 void (*callback)(ALLEGRO_DISPLAY *display))
13

DESCRIPTION

15       The  callback  will be called whenever a D3D device that has been reset
16       is restored.  In the callback you should restore any d3d resources  you
17       have created yourself.  The callback receives the affected display as a
18       parameter.
19
20       Pass NULL to disable the callback.
21

SINCE

23       5.1.0
24
25
26
27Allegro reference manual                 al_set_d3d_device_restore_callback(3)
Impressum