Creating an OpenGL context on a hidden window

Are there any known problems with initializing an OpenGL context on a hidden Cocoa window? We are experiencing errors when we attempt this and then show the window, but the code works fine when the window is not hidden. I am not sure if this is an error in our code or a limitation of OSX. Can anyone comment on this?

To clarify, when you say ‘errors’, you mean errors in code such as returned by glGetError, assertions, etc, or you mean that the windows is covered by random wrong pixels ?

It works fine now.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.