Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOpenGLView (and resizing problems)



I had the same problem, and found that over-ridding the drawRect: method and calling [ view setNeedsDisplay:YES] instead of having my own drawFrame method which I called myself fixed the problem.

On 24/09/2004, at 2:46 PM, Keith Bauer wrote:

Basically resizing a window with an NSOpenGLView inside seems to have these cosmetic glitches. Has anybody else seen these? And is there an easy way to avoid this phenomenon?

Is your OpenGL view double-buffered? It should be to avoid this sort of thing, and Interface Builder's controls won't let you make it, IIRC.


-Keith

_______________________________________________ Do not post admin requests to the list. They will be ignored. Mac-opengl mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden
References: 
 >NSOpenGLView (and resizing problems) (From: "devlists" <email@hidden>)
 >Re: NSOpenGLView (and resizing problems) (From: Keith Bauer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.