• 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
Re: Resizing NSOpenGLViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resizing NSOpenGLViews


  • Subject: Re: Resizing NSOpenGLViews
  • From: Ivan Milles <email@hidden>
  • Date: Thu, 6 Mar 2003 07:56:37 +0100

Finally, someone over at http://www.idevgames.com got it for me. It was a tad bit more involved than I thought at first, though.

First of all, I had to override NSOpenGLView's update method to get everything hooked into the right places. Next, the drawable had to be cleared and setView:self called. Then, the glViewport had to be reset and resized, and finally, I could call [self display] to get that be-it-ever-damned blue square into correct size.

Thanks for your time, though, everyone,

Ivan
_______________________________________________
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.

  • Prev by Date: Re: OT: RadarWeb (bugreporter.apple.com)
  • Next by Date: Cocoa friendly Quicktime APIs?
  • Previous by thread: numberOfRowsInTableView called after dealloc
  • Next by thread: Cocoa friendly Quicktime APIs?
  • Index(es):
    • Date
    • Thread