Re: Is there anything pathological with the following NSView simple subclass?

2008-05-24 Thread Erik Buck
Try this search http://developer.apple.com/cgi-bin/search.pl?q=NSOpenGLView&num=10&site=(samplecode) Take insight from the samples. Start with NSOpenGLView unless you have some strong reason to poll your own. ___ Cocoa-dev mailing list (Cocoa-de

Is there anything pathological with the following NSView simple subclass?

2008-05-24 Thread Graham Reitz
I am endeavoring to learn openGL gui development on the Mac. Any comments on the follow code would be greatly appreciated, i.e. what's wrong, pathological and etc... thanks, graham Code--- // simple.h #import @interface simple : NSView { @private NSOpenGLContext *m_con