Fixed setting draw color for clear
authorSam Lantinga <slouken@libsdl.org>
Mon, 28 Feb 2011 09:26:35 -0800
changeset 5412279f6853c459
parent 5411 e76c379a80ef
child 5413 64c0e474c459
Fixed setting draw color for clear
Xcode-iPhoneOS/Template/SDL iOS Application/main.c
     1.1 --- a/Xcode-iPhoneOS/Template/SDL iOS Application/main.c	Mon Feb 28 09:09:13 2011 -0800
     1.2 +++ b/Xcode-iPhoneOS/Template/SDL iOS Application/main.c	Mon Feb 28 09:26:35 2011 -0800
     1.3 @@ -23,7 +23,7 @@
     1.4      Uint8 r, g, b;
     1.5  
     1.6      /* Clear the screen */
     1.7 -    SDL_SetRenderDrawColor(0, 0, 0, 255);
     1.8 +    SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255);
     1.9      SDL_SetRenderClear(renderer);
    1.10  
    1.11      /*  Come up with a random rectangle */