mirror of
https://github.com/lov3b/Pong.git
synced 2025-01-18 12:40:12 +01:00
Cross platform main
This commit is contained in:
parent
45e2b09d43
commit
540475fa54
@ -1,7 +1,8 @@
|
||||
#include "Game.h"
|
||||
#include <SDL.h>
|
||||
|
||||
|
||||
int main() {
|
||||
extern "C" int main(int _argc, char* _argv[]) {
|
||||
Game game(SDL_Point{1000, 600});
|
||||
|
||||
return game.loop();
|
||||
|
Loading…
x
Reference in New Issue
Block a user