[SDL] Reading a bunch of pixels's alpha from a PNG file using SDL_Image? (OpenGL+SDL & Linux)

Brian brian.ripoff at gmail.com
Thu May 3 04:30:23 PDT 2007


Other than that, the code is line for line the exact getpixel() in the
SDL doc wiki... odd. Did you manually edit that code Darkguy, or did
you get it as-is from somewhere else (if so, where)?

On 5/3/07, Gerry JJ <trick at icculus.org> wrote:
> On Thu, 03 May 2007 01:16:05 +0200, DARKGuy . <dark.guy.2008 at gmail.com>
> wrote:
> > I hate to bump but... nobody knows? :(
>
> You divide bytes per pixel by 8 in getpixel.


More information about the SDL mailing list