Mercurial > sdl-ios-xcode
diff XCodeiPhoneOS/Demos/src/happy.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/happy.c Tue Mar 17 03:24:22 2009 +0000 +++ b/XCodeiPhoneOS/Demos/src/happy.c Tue Mar 17 03:56:21 2009 +0000 @@ -58,7 +58,8 @@ dstRect.h = HAPPY_FACE_SIZE; /* fill background in with black */ - SDL_RenderFill(0, 0, 0, 255, NULL); + SDL_SetRenderDrawColor(0, 0, 0, 255); + SDL_RenderFill(NULL); /* loop through all the happy faces: