Udate mingw makefile, restore mingw console output.
This commit is contained in:
parent
f415db4f87
commit
98a7c6ec3a
2 changed files with 11 additions and 4 deletions
6
main.cpp
6
main.cpp
|
@ -34,6 +34,12 @@ static void saveRegistry() {
|
|||
Registry::instance()->save();
|
||||
}
|
||||
|
||||
#ifdef __MINGW32__
|
||||
int PASCAL WinMain(HINSTANCE /*hInst*/, HINSTANCE /*hPrevInst*/, LPSTR /*lpCmdLine*/, int /*iShowCmd*/) {
|
||||
return main(0, NULL);
|
||||
}
|
||||
#endif
|
||||
|
||||
int main(int /* argc */, char ** /* argv */) {
|
||||
char GLDriver[1024];
|
||||
if (SDL_Init(SDL_INIT_EVERYTHING) < 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue