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