Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Needed to pass the renderer in.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 13, 2011
1 parent e77eb99 commit abac93c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Xcode-iPhoneOS/Demos/src/touch.c
Expand Up @@ -97,7 +97,7 @@ main(int argc, char *argv[])

/* fill canvass initially with all black */
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255);
SDL_RenderClear();
SDL_RenderClear(renderer);
SDL_RenderPresent(renderer);

done = 0;
Expand Down

0 comments on commit abac93c

Please sign in to comment.