Re: [AD] power-of-two textures?

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


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




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/