Browse Source

Testing

gh-pages
falkTX 11 years ago
parent
commit
d2c937abe3
2 changed files with 4 additions and 1 deletions
  1. +1
    -1
      dgl/src/Window.cpp
  2. +3
    -0
      dgl/src/pugl/pugl_osx.m

+ 1
- 1
dgl/src/Window.cpp View File

@@ -105,7 +105,7 @@ public:
xDisplay(nullptr),
xWindow(0)
#elif defined(DGL_OS_MAC)
fNeedsIdle(true) // FIXME - set false?
fNeedsIdle(false)
#else
_dummy('\0')
#endif


+ 3
- 0
dgl/src/pugl/pugl_osx.m View File

@@ -358,6 +358,9 @@ puglCreate(PuglNativeWindow parent,
[NSAutoreleasePool new];
[NSApplication sharedApplication];

[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
[NSApp finishLaunching];

NSString* titleString = [[NSString alloc]
initWithBytes:title
length:strlen(title)


Loading…
Cancel
Save