Frederic Bouvier:
This patch is for windows only. It hides the console window until there is a message to print. It only support SG_LOG, that I think is the right way to display something in FG.
This commit is contained in:
parent
e2c4a83040
commit
52cb1190d0
1 changed files with 9 additions and 0 deletions
|
@ -101,6 +101,15 @@ extern "C" {
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
int main ( int argc, char **argv );
|
||||||
|
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
||||||
|
LPSTR lpCmdLine, int nCmdShow) {
|
||||||
|
|
||||||
|
main( __argc, __argv );
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Main entry point; catch any exceptions that have made it this far.
|
// Main entry point; catch any exceptions that have made it this far.
|
||||||
int main ( int argc, char **argv ) {
|
int main ( int argc, char **argv ) {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue