Hi, I trying to animate a window containing a NSOpenGLView to full screen. The implementation follows the recipe by Matt Gallagher:
http://cocoawithlove.com/2009/08/animating-window-to-fullscreen-on-mac.html. Everything works, except that the OpenGLView flashes once at the beginning of the animation from window to full screen and once more at the end of the animation from full screen to window. Searching the web lead me to try to add the following implementation of renewGState to my NSOpenGLView. This removed the flashes and unfortunately also the animation from window to full screen, but not the animation from full screen to window. -(void)renewGState { NSWindow* the_window = [self window]; if([the_window respondsToSelector:@selector (disableScreenUpdatesUntilFlush)]) { [the_window disableScreenUpdatesUntilFlush]; } [super renewGState]; } Any help or ideas will be deeply appreciated. Best regards, Morten _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com