Re: [AD] ex_pixelformat broken? |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Fri, 2009-03-13 at 08:40 +1100, Peter Wang wrote:
> >
> > 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.
>
I see - the formats OpenGL can't convert to directly, we probably should
do that (not the ones it already can). I'll see if I can fix it.
Btw., do we really need to support formats like 5551 or 4444? OpenGL
doesn't seem to have them, and from what I see in DX 10 they also were
removed (DX 9 has them though).
--
Elias Pschernig <elias@xxxxxxxxxx>