diff options
author | Sven Gothel <[email protected]> | 2012-11-04 06:42:43 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-11-04 06:42:43 +0100 |
commit | 808c8da0729b845d010d3f5e0babf1fc6129c3e9 (patch) | |
tree | f1ab90439492865de1aa507f4807f8cc96c4a6d4 /src/jogl/native/macosx/MacOSXWindowSystemInterface-calayer.m | |
parent | 502847f59ef01c78a85e4ee5453a09d9b83d9a5e (diff) |
MacOSXCGLContext[NSOpenGLLayer/NSView]: Propagate drawable change
Propagate drawable change to MacOSXCGLContext where either context/NSView or context/NSOpenGLLayer
association needs to get updated.
Fixes drawable/context switch.
Diffstat (limited to 'src/jogl/native/macosx/MacOSXWindowSystemInterface-calayer.m')
-rw-r--r-- | src/jogl/native/macosx/MacOSXWindowSystemInterface-calayer.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jogl/native/macosx/MacOSXWindowSystemInterface-calayer.m b/src/jogl/native/macosx/MacOSXWindowSystemInterface-calayer.m index 6ebf400e2..b37930587 100644 --- a/src/jogl/native/macosx/MacOSXWindowSystemInterface-calayer.m +++ b/src/jogl/native/macosx/MacOSXWindowSystemInterface-calayer.m @@ -448,6 +448,7 @@ static const GLfloat gl_verts[] = { [self disableAnimation]; [self deallocPBuffer]; [[self openGLContext] release]; + [parentPixelFmt release]; [self release]; DBG_PRINT("MyNSOpenGLLayer::releaseLayer.X: %p (refcnt %d)\n", self, (int)[self retainCount]); pthread_mutex_unlock(&renderLock); |