[SDL] aalineRGBA problem
Clemens Kirchgatterer
clemens at 1541.org
Thu Jun 15 02:32:51 PDT 2006
Armin Steinhoff <A-Steinhoff at web.de> wrote:
> > I stand corrected, but my understanding is that yes. Those masks,
> > and those alone once bpp has been defined, define how SDL and
> > others (like SDL_gfx) use the per pixel bits when they draw onto
> > that surface aswell as when they blit from that surface.
>
> The example 'testbitmap.c' is using mask values which are plain zero
> (LoadXBM) That's confusing ....
that is for letting SDL deside which pixelformat to use. if you do not
need to know the exact pixel data layout, it is best to let SDL pick
the best fitting one.
clemens
More information about the SDL
mailing list