Problem with setNeedsDisplay: in derived NSOpenGLView
Problem with setNeedsDisplay: in derived NSOpenGLView
- Subject: Problem with setNeedsDisplay: in derived NSOpenGLView
- From: "Brant Sears" <email@hidden>
- Date: Thu, 1 Dec 2005 12:13:55 -0500
- Thread-topic: Problem with setNeedsDisplay: in derived NSOpenGLView
I have a view that is derived from NSOpenGLView. It draws when it is initially opened and redraws when it is resized. However, when I call:
[glView setNeedsDisplay:YES];
the view is not redisplayed. I have verified that the value of the view to which I am sending the message is correct and also that the redraw is really not happening (using Quartz debug). When I resize the window (which resizes the view), Quartz debug shows it redrawing (and I see other consistant behavior), but not when I explicitly call setNeedsDisplay: on the view from a button push.
What things should I investigate that might cause this behavior?
Thanks.
Brant Sears
<<winmail.dat>>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden