-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hey
I am trying to combine some code that requires me to set the GL version as in the code below. But this prevents the HAP addon to display images.
Any idea why?
The problem is mainly with shared_ptr vidPtr;
`#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.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);
}
`
Metadata
Metadata
Assignees
Labels
No labels