Needed to pass the renderer in.
authorSam Lantinga <slouken@libsdl.org>
Sun, 13 Feb 2011 00:18:05 -0800
changeset 5285ee03772989eb
parent 5284 96a22141cf86
child 5286 73d27f06a715
Needed to pass the renderer in.
Xcode-iPhoneOS/Demos/src/touch.c
     1.1 --- a/Xcode-iPhoneOS/Demos/src/touch.c	Sat Feb 12 21:52:30 2011 -0800
     1.2 +++ b/Xcode-iPhoneOS/Demos/src/touch.c	Sun Feb 13 00:18:05 2011 -0800
     1.3 @@ -97,7 +97,7 @@
     1.4  
     1.5      /* fill canvass initially with all black */
     1.6      SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255);
     1.7 -    SDL_RenderClear();
     1.8 +    SDL_RenderClear(renderer);
     1.9      SDL_RenderPresent(renderer);
    1.10  
    1.11      done = 0;