[SDL] single pixel drawing

Atrix Wolfe Atrix2 at cox.net
Wed Jul 17 12:36:00 PDT 2002


ok so shifting seems optimal to multiplication.  How would you take something like y*pitch+x and figure out what shifting to do for a pitch that is determined at run-time?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020717/4f16d962/attachment-0008.htm>


More information about the SDL mailing list