Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed setting draw color for clear

  • Loading branch information
slouken committed Feb 28, 2011
1 parent bec527b commit dd7cf0cfa0090eb6b4daa35d2e4f8cea36a37ca5
Showing with 1 addition and 1 deletion.
  1. +1 −1 Xcode-iPhoneOS/Template/SDL iOS Application/main.c
@@ -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 */

0 comments on commit dd7cf0c

Please sign in to comment.