Mac and Linux SDL2 binary snapshots
Edward Rudd
2018-08-19 561f0d614098a95527367cc3f911e476f35643d6
source/Xcode-iOS/Template/SDL iOS Application/main.c
@@ -5,6 +5,8 @@
 */
#include "SDL.h"
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define SCREEN_WIDTH 320
@@ -20,6 +22,7 @@
render(SDL_Renderer *renderer)
{
    SDL_Rect rect;
    Uint8 r, g, b;
    /* Clear the screen */
@@ -27,7 +30,6 @@
    SDL_RenderClear(renderer);
    /*  Come up with a random rectangle */
    SDL_Rect rect;
    rect.w = randomInt(64, 128);
    rect.h = randomInt(64, 128);
    rect.x = randomInt(0, SCREEN_WIDTH);