Skip to content

settings.setGLVersion(3, 2) not working with addon #21

@stephanschulz

Description

@stephanschulz

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions