ofxTransparentWindow
ofxTransparentWindow copied to clipboard
bad context on 0.9.7
Seems to be triggering an error:
<Error>: CGContextSetCompositeOperation: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
I'm on El Capitan using oF 0.9.7
FWIW seems to be caused by the update function. Specifically the lines
[[NSColor colorWithDeviceRed:0.0f green:0.0f blue:0.0f alpha:0.0f] set];
NSRectFill([myView bounds]);
Removing the lines causes the error to stop, and the addon seems to function fine after that, so not sure if this update function was actually doing anything...