Fixed setting draw color for clear
authorSam Lantinga <slouken@libsdl.org>
Mon, 28 Feb 2011 09:26:35 -0800
changeset 5412 279f6853c459
parent 5411 e76c379a80ef
child 5413 64c0e474c459
Fixed setting draw color for clear
Xcode-iPhoneOS/Template/SDL iOS Application/main.c
--- a/Xcode-iPhoneOS/Template/SDL iOS Application/main.c	Mon Feb 28 09:09:13 2011 -0800
+++ b/Xcode-iPhoneOS/Template/SDL iOS Application/main.c	Mon Feb 28 09:26:35 2011 -0800
@@ -23,7 +23,7 @@
     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 */