mirror of https://git.wownero.com/dsc/mxe.git
25 lines
473 B
C
25 lines
473 B
C
/*
|
|
* This file is part of MXE. See LICENSE.md for licensing information.
|
|
*/
|
|
|
|
#include <SDL.h>
|
|
#include <SDL_rotozoom.h>
|
|
#include <SDL_framerate.h>
|
|
|
|
int main(int argc, char* argv[])
|
|
{
|
|
FPSmanager framerate_manager;
|
|
|
|
(void)argc;
|
|
(void)argv;
|
|
|
|
if (SDL_Init(SDL_INIT_EVERYTHING) < 0) return 1;
|
|
|
|
SDL_initFramerate(&framerate_manager);
|
|
SDL_setFramerate(&framerate_manager, 60);
|
|
SDL_framerateDelay(&framerate_manager);
|
|
|
|
SDL_Quit();
|
|
return 0;
|
|
}
|