diff options
author | Sven Gothel <[email protected]> | 2012-01-16 13:15:50 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-01-16 13:15:50 +0100 |
commit | 26368a0ab1dfd612f29488cd1087c679868f7fbf (patch) | |
tree | f683a446471b4687564cbbafd027f8645d65ae44 /src/jogl/native | |
parent | f5c8cdad92687782184122fecc341258a6283d89 (diff) |
NEWT/OSX CALayer Animation Fix: Use '[layer removeAllAnimations]', '[layer removeAnimationForKey: kCAOnOrderIn, kCAOnOrderOut, kCATransition]' doesn't work
Diffstat (limited to 'src/jogl/native')
-rw-r--r-- | src/jogl/native/macosx/MacOSXWindowSystemInterface-pbuffer.m | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/jogl/native/macosx/MacOSXWindowSystemInterface-pbuffer.m b/src/jogl/native/macosx/MacOSXWindowSystemInterface-pbuffer.m index fe896cc53..b713465f7 100644 --- a/src/jogl/native/macosx/MacOSXWindowSystemInterface-pbuffer.m +++ b/src/jogl/native/macosx/MacOSXWindowSystemInterface-pbuffer.m @@ -102,11 +102,6 @@ static CVReturn renderMyNSOpenGLLayer(CVDisplayLinkRef displayLink, pthread_mutex_init(&renderLock, &renderLockAttr); // recursive pthread_cond_init(&renderSignal, NULL); // no attribute - // no animations for add/remove/swap sublayers etc - [self removeAnimationForKey: kCAOnOrderIn]; - [self removeAnimationForKey: kCAOnOrderOut]; - [self removeAnimationForKey: kCATransition]; - pbuffer = p; [pbuffer retain]; @@ -161,7 +156,6 @@ static CVReturn renderMyNSOpenGLLayer(CVDisplayLinkRef displayLink, shallDraw = NO; CGRect lRect = [self frame]; - DBG_PRINT("MyNSOpenGLLayer::init %p, ctx %p, pfmt %p, pbuffer %p, opaque %d, pbuffer %dx%d -> tex %dx%d, frame: %lf/%lf %lfx%lf (refcnt %d)\n", self, _ctx, _fmt, pbuffer, opaque, [pbuffer pixelsWide], [pbuffer pixelsHigh], texWidth, texHeight, lRect.origin.x, lRect.origin.y, lRect.size.width, lRect.size.height, (int)[self retainCount]); |