Create a gist now

Instantly share code, notes, and snippets.

@roxlu /main.cpp Secret
Last active Dec 23, 2015

What would you like to do?
openFrameworks turn on multi sampling on Mac
#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