Created
November 6, 2014 14:32
-
-
Save microcosm/73c85ecf61b7f8b324a1 to your computer and use it in GitHub Desktop.
multi monitors test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ofMain.h" | |
#include "ofApp.h" | |
#include "ofAppGLFWWindow.h" | |
int main( ){ | |
ofAppGLFWWindow window; | |
window.setMultiDisplayFullscreen(true); | |
ofSetupOpenGL(&window,1024,768,OF_FULLSCREEN); | |
ofRunApp(new ofApp()); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void ofApp::draw(){ | |
ofBackground(ofColor::black); | |
for(int i = 0; i < ofGetWidth(); i=i+50) { | |
for(int j = 0; j < ofGetHeight(); j=j+50) { | |
ofDrawBitmapString("test", ofPoint(i, j)); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment