Re: [AD] ex_pixelformat broken? |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2009-03-09, Elias Pschernig <elias.pschernig@xxxxxxxxxx> wrote:
> On Mon, 2009-03-09 at 21:22 +1100, Peter Wang wrote:
> > Is ex_pixelformat currently broken? With some certain src/dest pixel
> > formats either I see some junk (on one machine), or the program crashes
> > (with another).
> >
>
> Same here.
I've tracked it down to ogl_lock_region(). I believe after reading the
texture data into a memory buffer it's missing a conversion to the
format specified in the parameter list.
Peter