---
name: "al_have_d3d_non_pow2_texture_support"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_have_d3d_non_pow2_texture_support"
---

# al\_have\_d3d\_non\_pow2\_texture\_support(3)

Allegro 5 API

## NAME

al\_have\_d3d\_non\_pow2\_texture\_support - 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 supports NPOT textures, false otherwise.
