For anyone who knows SDL, is there a getPixel routine, or something like it, that will return the 24bit color information of a specified pixel on an SDL_Surface?
For anyone who knows SDL, is there a getPixel routine, or something like it, that will return the 24bit color information of a specified pixel on an SDL_Surface?
When in doubt, empty your magazine - Murphy's Laws Of Combat #7
There is code for a getpixel at
http://sdldoc.csn.ul.ie/guidevideo.php
there is also a putpixel which may be handy.