Guest User

Untitled

a guest
Jan 23rd, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. void game_class::apply_surface(int x,int y,SDL_Surface* source,SDL_Surface* destination)
  2. {
  3. SDL_Rect offset;
  4. offset.x=x;
  5. offset.y=y;
  6. SDL_BlitSurface(source,0,destination,&offset);
  7. }
Add Comment
Please, Sign In to add comment