You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
475 B
25 lines
475 B
/*
|
|
* This file is part of MXE. See LICENSE.md for licensing information.
|
|
*/
|
|
|
|
#include <SDL.h>
|
|
#include <SDL2_rotozoom.h>
|
|
#include <SDL2_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;
|
|
}
|