PDA

View Full Version : Creating an OpenGL context on a hidden window



JoshKlint
02-10-2011, 08:23 PM
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?

ZbuffeR
02-11-2011, 02:19 AM
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 ?

JoshKlint
03-20-2011, 12:43 AM
It works fine now.