Hello forum,
Is OF totally conformed with opengl 4?
Thanks
Hello forum,
Is OF totally conformed with opengl 4?
Thanks
@sajjad if you are working with the programmable renderer on a desktop, then openFrameworks uses openGL 3.2.
Here’s the source code that sets the version based on platform (again, using the programmable renderer):
if(ofIsGLProgrammableRenderer()){
#if defined(TARGET_RASPBERRY_PI)
((ofAppEGLWindow*)window.get())->setGLESVersion(2);
#elif defined(TARGET_LINUX_ARM)
((ofAppGLFWWindow*)window.get())->setOpenGLVersion(2,0);
#elif !defined(TARGET_OPENGLES)
((ofAppGLFWWindow*)window.get())->setOpenGLVersion(3,2);
#endif
}