diff options
Diffstat (limited to 'Screen.cpp')
-rw-r--r-- | Screen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,14 +10,14 @@ Screen::Screen() { SDL_WM_SetCaption("Intense Marcus", NULL); } -void Screen::blit(int x, int y, SDL_Surface* src, SDL_Surface* dst, SDL_Rect* clip) { +void Screen::blit(int x, int y, SDL_Surface* src, SDL_Rect* clip) { // Destination position SDL_Rect pos; pos.x = x; pos.y = y; - SDL_BlitSurface(src, clip, dst, &pos); + SDL_BlitSurface(src, clip, screen, &pos); } void Screen::flip() { |