Re: Resizing NSOpenGLViews
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.