views:

15

answers:

0

In interface builder, I have an NSWindow with an NSView subview, and a custom NSOpenGLView as a subview of the NSView. I have my depth buffer set as 24 bit and a double buffer enabled. Everything else is set to the default value. I've used my NSOpenGLView elsewhere so I know the OpenGL parts work correctly. If I put an NSLog call in my draw rect method of my custom NSOpenGLView, I can see it is getting called. However, nothing in my view updates. I'm pretty sure the problem is with Cocoa, but I can't seem to figure out what it is. I'd appreciate any suggestions of things to check.