aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/native/macosx
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-01-16 13:15:50 +0100
committerSven Gothel <[email protected]>2012-01-16 13:15:50 +0100
commit26368a0ab1dfd612f29488cd1087c679868f7fbf (patch)
treef683a446471b4687564cbbafd027f8645d65ae44 /src/jogl/native/macosx
parentf5c8cdad92687782184122fecc341258a6283d89 (diff)
NEWT/OSX CALayer Animation Fix: Use '[layer removeAllAnimations]', '[layer removeAnimationForKey: kCAOnOrderIn, kCAOnOrderOut, kCATransition]' doesn't work
Diffstat (limited to 'src/jogl/native/macosx')
-rw-r--r--src/jogl/native/macosx/MacOSXWindowSystemInterface-pbuffer.m6
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]);