Re: [AD] locking problem on OpenGL |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2009-08-15, Elias Pschernig <elias.pschernig@xxxxxxxxxx> wrote:
> On Sat, 2009-08-15 at 01:07 +1000, Peter Wang wrote:
> >
> > Also, not really related, but in ex_pixelformat I saw that these
> > conversions had problems:
> > RGBA8888 -> RGBA4444
> > BGR888 -> RGBA4444
> > BGR555 -> RGBA4444
> > RGBX8888 -> RGBA4444
> >
>
> Spent an hour or so fixing them. Would anyone object to generating
> convert.c and convert.h from a Python script? They are getting
> dangerously close to being unmaintainable the way they are right now...
As long as the generator itself is maintainable ;-) But having those
macros expanded out would make it easier to understand what's going on
at least.
Peter