Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Mar 12th, 2013  |  syntax: None  |  size: 0.15 KB  |  hits: 37  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. void objects::drawRect(SDL_Surface *screen, SDL_Rect* object, int r, int g, int b)
  2. {
  3.     SDL_FillRect(screen,&object, SDL_MapRGB(screen->format,r,g,b));
  4. }