al_have_d3d_non_pow2_texture_support(1) Allegro 5 API

SYNOPSIS


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

DESCRIPTION

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

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