Re-opening OpenGLView
Re-opening OpenGLView
- Subject: Re-opening OpenGLView
- From: Charles Brokaw <email@hidden>
- Date: Fri, 11 Oct 2002 09:25:00 -0700
My application has an auxilary window with a subclassed NSOpenGLView.
The first time I open it, it works fine. If I close and reopen, it acts
instead like an ordinary view, and accepts and shows Quartz drawing
commands. If I use the debugger to stop inside my drawRect, it still
shows that the openGLview has the same context, with the same
designated view. Same with or without double buffering.
The only clue I have is that if I put an initWithCoder method in my
subclass, it is called the first time I open the window, but not with
subsequent openings.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.