summaryrefslogtreecommitdiff
path: root/Screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Screen.cpp')
-rw-r--r--Screen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Screen.cpp b/Screen.cpp
index 5a0b157..1a0e6cb 100644
--- a/Screen.cpp
+++ b/Screen.cpp
@@ -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() {