Re: NSOpenGLView - forcing an update.
Re: NSOpenGLView - forcing an update.
- Subject: Re: NSOpenGLView - forcing an update.
- From: Alastair Houghton <email@hidden>
- Date: Fri, 23 Nov 2007 11:28:26 +0000
On 23 Nov 2007, at 11:13, John Clayton wrote:
Thanks - I've found something interesting.
The custom NSOpenGLView was NOT specified as being double-buffered
in the NIB.
I changed it to be double buffered, and then re-ran the program and
the behaviour is now:
- on startup, moving my slider back and forth does not refresh the
video frame.
- if I then resize the window, and then move the slider - everything
works PERFECTLY.
Where are you setting up your projection and/or viewport? It could be
that it isn't happening until the view gets resized for some reason.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden