Re: Re-opening OpenGLView
Re: Re-opening OpenGLView
- Subject: Re: Re-opening OpenGLView
- From: Brent Gulanowski <email@hidden>
- Date: Fri, 11 Oct 2002 16:37:11 -0400
No one has answered, so I'll ask for a clarification in order to see if
I can be of any help.
On Friday, October 11, 2002, at 12:25 PM, Charles Brokaw wrote:
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.
Methinks you are not actually stating your problem. All NSOpenGLViews
are capable of rendering drawing commands, although they are rarely
used as such (Jaguar makes it possible to do both in a practical way,
if need be).
Are you in fact implying that it no longer renders OpenGL? You're
drawing and nothing is showing up?
--
Brent Gulanowski email@hidden
"Of course the Universe hates you. You're working to reduce chaos by
expending a lot of energy to do your job. Thus, you're contributing to
the eventual heat death of the universe, and it's just protecting
itself from you." -- John Batzel
_______________________________________________
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.