1
0
mirror of https://github.com/krislamo/Trololo synced 2024-09-19 20:20:36 +00:00
This commit is contained in:
Kris Lamoureux 2012-12-31 16:03:32 -08:00
parent 44070cb972
commit 874cc17c40

View File

@ -27,7 +27,7 @@ namespace scrnfunk
return screen_format;
}
void apply_image(int x, int y, SDL_Surface* source, SDL_Surface* destination, SDL_Rect* clip = 0)
void apply_image(int x, int y, SDL_Surface* source, SDL_Surface* destination, SDL_Rect* clip)
{
SDL_Rect pos;
@ -71,7 +71,7 @@ namespace scrns
if(init < 0)
{
fprintf(stderr, "Unable to initiate SDL: %s\n", SDL_GetError());
return false;
return false;
}