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

Commit

Permalink
Fixed setting draw color for clear
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 28, 2011
1 parent bec527b commit dd7cf0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Xcode-iPhoneOS/Template/SDL iOS Application/main.c
Expand Up @@ -23,7 +23,7 @@ render(SDL_Renderer *renderer)
Uint8 r, g, b;

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

/* Come up with a random rectangle */
Expand Down

0 comments on commit dd7cf0c

Please sign in to comment.