Tatsuhiro NISHIOKA: "enables osgviewer version of FlightGear to show
window frame, menubar, and Docks properly" (Mac OSX)
This commit is contained in:
parent
fcf92fdb57
commit
e5c22e159f
1 changed files with 5 additions and 4 deletions
|
@ -148,8 +148,9 @@ void fgOSOpenWindow(int w, int h, int bpp,
|
|||
traits->windowDecoration = true;
|
||||
traits->width = w;
|
||||
traits->height = h;
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) || defined(__APPLE__)
|
||||
// Ugly Hack, why does CW_USEDEFAULT works like phase of the moon?
|
||||
// Mac also needs this to show window frame, menubar and Docks
|
||||
traits->x = 100;
|
||||
traits->y = 100;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue