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

al_have_d3d_non_pow2_texture_support - Allegro 5 API

#include <allegro5/allegro_direct3d.h>
bool al_have_d3d_non_pow2_texture_support(void)
    

Returns whether the Direct3D device supports textures whose dimensions are not powers of two.

Returns: True if device supports NPOT textures, false otherwise.

Allegro reference manual