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

Commit

Permalink
Fixed typos in example code
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Mar 25, 2011
1 parent c445909 commit b7eff43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Xcode-iPhoneOS/Template/SDL iOS Application/main.c
Expand Up @@ -24,7 +24,7 @@ render(SDL_Renderer *renderer)

/* Clear the screen */
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255);
SDL_SetRenderClear(renderer);
SDL_RenderClear(renderer);

/* Come up with a random rectangle */
SDL_Rect rect;
Expand Down Expand Up @@ -74,7 +74,7 @@ main(int argc, char *argv[])
}

renderer = SDL_CreateRenderer(window, -1, 0);
if (renderer) {
if (!renderer) {
printf("Could not create renderer\n");
return 1;
}
Expand Down

0 comments on commit b7eff43

Please sign in to comment.