NSOpenGLView - forcing an update.
NSOpenGLView - forcing an update.
- Subject: NSOpenGLView - forcing an update.
- From: John Clayton <email@hidden>
- Date: Fri, 23 Nov 2007 10:08:58 +0100
Hello List,
I would like to know how I can force a bog standard NSOpenGLView to
refresh its content. Is it as simple as saying :
[theView setNeedsDisplay:YES]
???
Cos when I do this, my draw method does get called (i.e. drawRect:),
but the image on the view itself does not change. When I resize the
view, the image is then updated immediately. Anyone else seen this
kinda of thing before?
Thanks (a lot) in advance for any comments/help - have a good day!
--
John Clayton
_______________________________________________
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