ofxHAPAVPlayer with settings.setGLVersion(3, 2)


#1

I have code working in which I have a vector of HAP players

 vector<ofxHAPAVPlayer> vid;
 vector<shared_ptr<ofxHAPAVPlayer>> vidPtr;

but this only works if the main.h uses settings.setGLVersion(2,1);
but not when I use settings.setGLVersion(3, 2);

if I set it to anything other than 2,1 only the first item in the vector plays
why?

I need 3,2 to because it works for ofxShaderToys

#include "ofMain.h"
#include "ofApp.h"
#include "ofAppGLFWWindow.h"

//set file type to Objective-C++ Source

//========================================================================
int main( ){
    
    
    ofGLFWWindowSettings settings;
    settings.setGLVersion(3, 2);    // <--- ofxShadertoy NEEDS the GL Programmable Renderer
//     settings.setGLVersion(4,0);
//     settings.setGLVersion(2,1); 
    settings.windowMode = OF_FULLSCREEN;
    settings.decorated = false;
    settings.width = 1200;
    settings.height = 900;
    settings.setPosition(ofVec2f(0,0));
    settings.resizable = false;
    
    settings.multiMonitorFullScreen = false; //true;
    ofCreateWindow(settings);
    ofRunApp(new ofApp);
    
}