Quantcast
Viewing all articles
Browse latest Browse all 40524

ofSetCurrentRenderer in 0.9.0

in 0.9.0 you just need to set the GL version when creating the window in main.

something like:

#include "ofMain.h"
#include "ofApp.h" 
//========================================================================
int main( ){    
    ofGLWindowSettings settings;    
    settings.setGLVersion(3,2);   
    ofCreateWindow(settings);     // this kicks off the running of my app    
    ofRunApp(new ofApp()); 
}

Viewing all articles
Browse latest Browse all 40524

Trending Articles