Xcode-iPhoneOS/Demos/src/touch.c
changeset 5285 ee03772989eb
parent 5208 78db79f5a4e2
--- 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;