Another way to fix this—and the way I plan to do it in winit—is to call -[NSView setWantsLayer:YES] explicitly on your view before attaching the NSOpenGLContext to it. That way your context will stay properly attached when the view is added to a window.
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.