view src/sdl-test.c @ 3736:b90033378759

mingw-w64: update version to 3.3.0 * src/mingw-w64-1-float-h.patch: renamed src/mingw-w64-2-float-h.patch * src/mingw-w64-1-math-h.patch: removed. * dist-files.mk: renamed mingw-w64-1-float-h.patch, removed mingw-w64-1-math-h.patch * src/mingw-w64.mk: update version, checksum
author John Donoghue
date Wed, 12 Nov 2014 15:05:45 -0500
parents 99516e73b368
children
line wrap: on
line source

/*
 * This file is part of MXE.
 * See index.html for further information.
 */

#include <SDL.h>

int main(int argc, char *argv[])
{
    SDL_Surface *screen;

    (void)argc;
    (void)argv;

    if (SDL_Init(SDL_INIT_EVERYTHING) < 0) return 1;

    screen = SDL_SetVideoMode(640, 480, 32, SDL_HWSURFACE);
    (void)screen;

    SDL_Quit();
    return 0;
}