| Previous | Next |
| D2DERR_SHADER_COMPILE_FAILED | D2DERR_UNSUPPORTED_VERSION |
D2DERR_MAX_TEXTURE_SIZE_EXCEEDED
D2DERR_MAX_TEXTURE_SIZE_EXCEEDED means that the requested DirectX surface is larger than the maximum texture size supported by the active device. It is a device-capability limit, not necessarily a shortage of ordinary process memory.
What to check
- Record the requested width, height, pixel format, and active graphics feature level.
- Split large content into tiles or smaller intermediate surfaces.
- Avoid allocating full-size offscreen targets when only a smaller dirty region must be updated.
Reducing image dimensions or tiling the operation is more reliable than repeatedly retrying the same allocation.
Microsoft: Direct2D error codes
Looking for a different code? Search another status or error code.