Re: NSOpenGLView - forcing an update.
Re: NSOpenGLView - forcing an update.
- Subject: Re: NSOpenGLView - forcing an update.
- From: John Clayton <email@hidden>
- Date: Fri, 23 Nov 2007 16:15:50 +0100
SEMI SOLVED: i.e. I'm gonna stop.
Just for the list - I recompiled my spike solution so it runs on
Tiger, and lo and behold - it ran perfectly. So I've filed a bug at
Apple, including my little .mov file and the program, demonstrating
the problem that 10.5.1 exhibits with the same code.
--
John Clayton
http://www.coderage-software.com/
On 23/11/2007, at 12:28 PM, Alastair Houghton wrote:
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