2 screens 1 canvas (osX)

Hi!
How can i use two full HD monitors with one canvas in osx? I want a 3840px width extend in two screens without cut. It is possible?
EDIT: obviusly i have the two screens connected to my macbook in “extend” mode.

In your main.cpp setup the app and window like this:

    ofGLFWWindowSettings msettings;
    msettings.setSize( 3840, 1080 );
    msettings.multiMonitorFullScreen = true; 
    auto mainWin = ofCreateWindow( msettings );

    auto app = make_shared<ofApp>();
    ofRunApp( mainWin, app );
    ofRunMainLoop();

The key thing is msettings.multiMonitorFullScreen = true;

You will need to disable this in your system preferences though otherwise macOS will treat each display as its own separate space.

1 Like

Thanks a lot!