Skip to content

bad context on 0.9.7  #3

@aferriss

Description

@aferriss

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions