logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_set_d3d_device_release_callback - Allegro 5 API

Description

       The callback will be called whenever a D3D device is reset (minimize, toggle fullscreen window, etc).  In
       the  callback  you should release any d3d resources you have created yourself.  The callback receives the
       affected display as a parameter.

       Pass NULL to disable the callback.

Name

       al_set_d3d_device_release_callback - Allegro 5 API

Since

       5.1.0

Allegro reference manual                                             al_set_d3d_device_release_callback(3alleg5)

Synopsis

              #include <allegro5/allegro_direct3d.h>

              void al_set_d3d_device_release_callback(
                 void (*callback)(ALLEGRO_DISPLAY *display))

See Also