mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 02:12:45 +01:00
rwgame: rwgame needs an entry point (main) using vs2017
This commit is contained in:
parent
4037c83929
commit
58f219c04d
@ -1,3 +1,4 @@
|
||||
#define SDL_MAIN_HANDLED
|
||||
#include <iostream>
|
||||
#include "RWGame.hpp"
|
||||
#include "SDL.h"
|
||||
@ -5,6 +6,7 @@
|
||||
#include <core/Logger.hpp>
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
SDL_SetMainReady();
|
||||
// Initialise Logging before anything else happens
|
||||
StdOutReceiver logstdout;
|
||||
Logger logger({ &logstdout });
|
||||
|
Loading…
Reference in New Issue
Block a user