Fixed iPhone demos

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403559
This commit is contained in:
Sam Lantinga 2009-03-17 03:56:21 +00:00
parent 4d78fdcef7
commit 7a8aae678e
5 changed files with 16 additions and 10 deletions

View file

@ -95,7 +95,8 @@ main(int argc, char *argv[])
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;