[SDL] SDL_WINDOWID equivalent on MacOS X ?

Michael Benfield leftfist at mac.com
Sat Sep 24 04:23:46 PDT 2005


The SDL_WINDOWID thing I have no idea. Getting at the RGB data for a 
surface is easy though: lock the surface, and then access its pixels 
member, then unlock the surface when you're done. See here:

http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fSurface

You can also get at the pixels through pygame with the get_at 
functions, or with the surfarray module.

Mike Benfield





More information about the SDL mailing list