Allegro 5 api
#include <allegro5/allegro_direct3d.h> bool al_have_d3d_non_square_texture_support(void)
Returns whether the Direct3D device supports textures that are not square.
Returns: True if the Direct3D device suports non-square textures, false otherwise.