Xcode-iPhoneOS/Template/SDL iOS Application/main.c
changeset 5412 279f6853c459
parent 5366 d032ec40e7c1
child 5511 be843abc1f6c
--- 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 */