From 1fcfd014ca90125ab53ebc4e96e133535a55f095 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 8 Oct 2014 08:17:23 +0200 Subject: Bug 1087: Set default framebuffer for OSX DummyDrawable, hence enforce NSView realization for DummyDrawable --- src/jogl/native/macosx/MacOSXWindowSystemInterface.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jogl/native/macosx') 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]; } } -- cgit v1.2.3