Re: Problem with setNeedsDisplay: in derived NSOpenGLView
Re: Problem with setNeedsDisplay: in derived NSOpenGLView
- Subject: Re: Problem with setNeedsDisplay: in derived NSOpenGLView
- From: Erik Buck <email@hidden>
- Date: Thu, 1 Dec 2005 10:08:48 -0800 (PST)
1) Verify that you are not calling -setNeedsDisplay: from within your implementation of -drawRect:
2) Verify that you are actually drawing your GL scene including a glFlush() if necessary from within your implementation of -drawRect:
3) Make sure you are not calling -setNeedsDisplay: from a different thread from the one sending GL commands.
4) Verify that calling -display instead of -setNeedsDisplay: does the right thing.
5) Verify that you are not hijacking the normal event loop which is used to coalesce -setNeedsDisplay: calls into a single -display call during the next event loop.
_______________________________________________
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