[SDL] SDL_getrgb

Vladimir Karpenko cr0acker at mail.ru
Sun Oct 6 05:18:00 PDT 2002


Can someone give on example of SDL_getrgb usage? I ca not undestand why
SDL_getrgb(cur,back->format,r,g,b) crashes the program.
SDL_Surface *back? and cur is uint32? which i get by using getpixel.






More information about the SDL mailing list