• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSOpenGLView's unwantedly 'linked'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Time creation and storage [Solved]
  • Next by Date: Re: Using NSImage to create high res images on disk for use in a webview (that will be printed)
  • Previous by thread: Is Core Data relevant for my app (another user asks...)?
  • Next by thread: NSData Vs NSFileHandle For Extracting From Archive Files
  • Index(es):
    • Date
    • Thread