iOS Xcode project template fixes/changes.

- Embedded headers
- Embedded Universal Device/Simulator libSDL.a
- Changed search paths.
- Removed cruft from copy resources.
This commit is contained in:
Eric Wing 2011-01-31 07:36:12 -08:00
parent dab1918039
commit d89219fa93
3 changed files with 160 additions and 28 deletions

View file

@ -32,9 +32,10 @@ render(void)
r = randomInt(50, 255);
g = randomInt(50, 255);
b = randomInt(50, 255);
SDL_SetRenderDrawColor(r, g, b, 255);
/* Fill the rectangle in the color */
SDL_RenderFill(r, g, b, 255, &rect);
SDL_RenderFillRect(&rect);
/* update screen */
SDL_RenderPresent();
@ -69,7 +70,7 @@ main(int argc, char *argv[])
}
/* Fill screen with black */
SDL_RenderFill(0, 0, 0, 0, NULL);
SDL_RenderClear();
/* Enter render loop, waiting for user to quit */
done = 0;