Reply To: Grey Screen of Death

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

#58967
MusicMan3001
Participant

After a long time without solving this issue (and thus having occasional crashes), I think I finally have some insight. Can you give me your opinion? Hopefully it will help someone else if it’s the right answer.

I’m running Syphon in a plugin, which doesn’t have much access to the host app’s state. So, I never thought twice about using the static function [NSOpenGLContext currentContext]. But now I realize there’s a chance that this function might not return the right context. And if it’s the wrong one, and Syphon tries to use it, things go south pretty quickly.

Am I thinking about it correctly? The proper solution would require I have direct access to the variable which represents the actual context for the window, right?