diff XCodeiPhoneOS/Demos/src/touch.c @ 3093:375ee92745e8

Fixed iPhone demos
author Sam Lantinga <slouken@libsdl.org>
date Tue, 17 Mar 2009 03:56:21 +0000
parents 9dde605c7540
children
line wrap: on
line diff
--- a/XCodeiPhoneOS/Demos/src/touch.c	Tue Mar 17 03:24:22 2009 +0000
+++ b/XCodeiPhoneOS/Demos/src/touch.c	Tue Mar 17 03:56:21 2009 +0000
@@ -95,7 +95,8 @@
     initializeTexture();
 
     /* fill canvass initially with all black */
-    SDL_RenderFill(0, 0, 0, 255, NULL);
+    SDL_SetRenderDrawColor(0, 0, 0, 255);
+    SDL_RenderFill(NULL);
     SDL_RenderPresent();
 
     done = 0;