[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SDL question
Hey there,
Anyone familiar with SDL, could you give me a help here? I've been
working with GGI for some time, but now I want to port some of my
applications to SDL. How do I calculate the "pitch" to use with the
SDL_CreateRGBSurfaceFrom, once I have an image loaded into a buffer, with
it's width and height? And what are the R, G and B masks for, and how do I
find out what are they?
Thanks in advance,
M.
---------------------------------------------------------------------
To unsubscribe, e-mail: linuxgames-unsubscribe@sunsite.dk
For additional commands, e-mail: linuxgames-help@sunsite.dk