Thank you very much Luis for this long and clear post. I have started to implement a small multi-platform Opengl 3.2+ framework (shaders only, VBO, VAO, FBO, ...) in PB based on various source codes found here (headers and maths functions) and on the OpenClassRoom tutorial (https://openclassrooms.com/courses/deve ... opengl-3-3) that i will post publicly here soon.luis wrote:In OSX, because Apple is what it is, supposing the driver is supporting GL 4.3 again:
You ask for a legacy RC, you get a legacy RC supporting GL 2.1.
You ask for a COMPATIBILITY PROFILE, you get a legacy RC supporting GL 2.1.
You ask for a CORE PROFILE for the 4.1 version, you get a CORE PROFILE supporting GL 4.1.
You ask for a CORE PROFILE for the 4.5 version, you get NULL.
In short, in OSX you get only GL 2.1 when you are note using a CORE PROFILE.
However, one thing is still missing : Do you (or someone else) know how to initialize an Opengl 3.2+ context on MacOS in Purebasic with the OpenGL Gadget or with APIs (Cocoa) ?