12345678910111213141516171819 |
- #include "game.h"
- #include <SDL2/SDL.h>
- #include <fmt/core.h>
- int
- main (int, char **)
- {
- if (SDL_Init (SDL_INIT_VIDEO) < 0)
- {
- fmt::print ("could not init SDL.");
- return (EXIT_FAILURE);
- }
- Game::App app = Game::App ("SDL Game", 800, 600);
- app.run ();
- return 0;
- }
|