Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void objects::drawRect(SDL_Surface *screen, SDL_Rect* object, int r, int g, int b)
- {
- SDL_FillRect(screen,&object, SDL_MapRGB(screen->format,r,g,b));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement