2012-12-16 20:12:55 +00:00
|
|
|
/*
|
2016-08-22 20:52:34 +01:00
|
|
|
* This file is part of MXE. See LICENSE.md for licensing information.
|
2012-12-16 20:12:55 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <SDL.h>
|
2014-07-02 18:33:23 +01:00
|
|
|
#include <SDL_rotozoom.h>
|
|
|
|
#include <SDL_framerate.h>
|
2012-12-16 20:12:55 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
}
|