Reply To: Grey Screen of Death

Home Forums Syphon Syphon Development – Developer Grey Screen of Death Reply To: Grey Screen of Death

#58968
MusicMan3001
Participant

Ok, actually I don’t think that’s the problem. But I think this is:
http://www.cocoabuilder.com/archive/cocoa/107699-nsopenglview-from-second-nsthread.html

Apparently all GL functions need to be locked when rendering isn’t in the main thread. NSOpenGLView will call GL functions from the main thread when the window is resized, etc. So not only does the secondary thread have to be locked, but all functions in NSOpenGLView have to be overriden and locked as well.