summaryrefslogtreecommitdiffstats
path: root/src/jogl/native
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-10-08 08:17:23 +0200
committerSven Gothel <[email protected]>2014-10-08 08:17:23 +0200
commit1fcfd014ca90125ab53ebc4e96e133535a55f095 (patch)
tree9accd4c7c1cd8c83f193e6c799ecf916ef4d3f09 /src/jogl/native
parent73654365e6147a5eabe8747e5f4802b1fba83829 (diff)
Bug 1087: Set default framebuffer for OSX DummyDrawable, hence enforce NSView realization for DummyDrawable
Diffstat (limited to 'src/jogl/native')
-rw-r--r--src/jogl/native/macosx/MacOSXWindowSystemInterface.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/native/macosx/MacOSXWindowSystemInterface.m b/src/jogl/native/macosx/MacOSXWindowSystemInterface.m
index d4d3ddad9..462b5393d 100644
--- a/src/jogl/native/macosx/MacOSXWindowSystemInterface.m
+++ b/src/jogl/native/macosx/MacOSXWindowSystemInterface.m
@@ -556,8 +556,8 @@ NSOpenGLContext* createContext(NSOpenGLContext* share,
GLint zeroOpacity = 0;
[ctx setValues:&zeroOpacity forParameter:NSOpenGLCPSurfaceOpacity];
}
+ [ctx setView:view]; // Bug 1087: Set default framebuffer, hence enforce NSView realization
if( viewReadyAndLocked ) {
- [ctx setView:view];
[view unlockFocus];
}
}