Re: [AD] Problem loading 32bit bmp file |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> > That's no surprise. The Allegro docs says:
>
> I've somehow learnt to never trust documentation.
In this case, chances are you wrote it yourself though ;)
> > Anyway, the fix appears to be simple enough. Proposed patch
> > attached.
>
> Looks good. Three other images I had in this format show up
> correctly now. Thanks.
Cheers. My only concern is the alpha channel: I'm setting it from the
fourth byte read, but I'm not at all certain that this actually makes
sense. Can the BMP files contain an alpha channel?
Evert