-
-
Save roxlu/683baf3cae7a1889044c to your computer and use it in GitHub Desktop.
openFrameworks turn on multi sampling on Mac
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 "testApp.h" | |
#include "ofAppGlutWindow.h" | |
//-------------------------------------------------------------- | |
int main(){ | |
ofAppGlutWindow window; // create a window | |
window.setGlutDisplayString("rgba double depth>=16 samples~8 profile=32"); | |
ofSetupOpenGL(&window, 1024, 768, OF_WINDOW); | |
ofSetFrameRate(60); | |
ofRunApp(new testApp()); // start the app | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment