Disable "Video Input" window on macOS
I'm not sure why, but when it's enabled macOS kills the program complaining "NSScreen reconfig must only happen on the main thread." When it's not enabled the program runs fine.
This commit is contained in:
parent
c6c96739bd
commit
0aac06bc30
|
@ -12,6 +12,8 @@ int main () {
|
||||||
|
|
||||||
graphicsFrame();
|
graphicsFrame();
|
||||||
|
|
||||||
|
#ifndef __APPLE__
|
||||||
cvShowFrame();
|
cvShowFrame();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue