[SDL] single pixel drawing

Atrix Wolfe Atrix2 at cox.net
Thu Jul 18 15:08:01 PDT 2002

how bout at run time you factor the pitch into powers of 2 and then create your full pixel drawing function (if there are 100 dots drawn put the for loop in and such) and "compile" it to the native machine code.  Hows that for efficiency?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020718/c96b8c45/attachment-0008.htm>

More information about the SDL mailing list