NSOpenGLView's unwantedly 'linked'
NSOpenGLView's unwantedly 'linked'
- Subject: NSOpenGLView's unwantedly 'linked'
- From: "Juan P. Pertierra" <email@hidden>
- Date: Fri, 21 Apr 2006 00:51:44 +0000
Hello,
My Cocoa app has 2 NSOpenGLView subclasses, one instance of each on screen at the same time, in different
windows. The problem is that when I reshape one window, thus calling the 'reshape:' method for the
OpenGLView in that window, the gl commands in that function seem to also be affecting the NSOpenGLView
in the other window. This unwantedly resizes the contents of the other NSOpenGLView.
Any ideas? I'm making sure to do [[self openGLContext] makeCurrentContext] in the drawRect: and
reshape: method for each subclass.
Thanks for any input.
Juan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden