Re: [AD] power-of-two textures? |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] power-of-two textures?
- From: "Trent Gamblin" <trent@xxxxxxxxxx>
- Date: Mon, 11 Feb 2008 18:32:41 -0700 (MST)
On Mon, February 11, 2008 6:01 am, Peter Wang said:
> What is the plan for Allegro to support such a limitation? Do we
> just
> need to modify ALLEGRO_BITMAP to hold the "actual" width and height
> fields, and allocate extra space? `al_lock_bitmap' would take that
> into
> account when calculating the pitch. What else needs to be done?
The D3D driver currently does that for every bitmap, even if the
card supports POT textures, so I know it works quite well.
Trent