iDevGames Forums
CGL and NSView - Printable Version

+- iDevGames Forums (
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: CGL and NSView (/thread-5888.html)

CGL and NSView - KiroNeem - Feb 10, 2005 11:53 AM

I'm just wondering if there is someway to set your CGL context to a NSView. I'm actually writting a screensaver and I'm not sure how to set this up, because it seems that the ScreenSaverView object already throws you into full screen mode. If anyone has any experience I would greatly appreciate it.

CGL and NSView - OneSadCookie - Feb 10, 2005 12:11 PM

No, you can't attach a CGL context to an NSView; you need an NSOpenGLContext for that... but if you're in full-screen mode already, what good would it do you?

What are you trying to accomplish here?