Closed sdreb3421 closed 2 years ago
It does seem like the color, depth and stencil bits settings are missing from the version 4 control, it should be quite easy to make a fix for it. I'll make a new issue to track this.
For API, APIVersion and Profile, yes you want to set these values. API you want to set to OpenGL, APIVersion you want to set to the OpenGL version you are targeting. And Profile you most likely want to set to Core
, but if you have old OpenGL code you might need to set it to Compatibility
.
Thank you! So I'm assuming that if I'm using the OpenGL4 using statements that the version should be 4.0.0?
The OpenGL4
namespace has an unfortunate name, what it really means it that the namespace only contains the "modern" opengl functions. You can use the OpenGL4
namespace using OpenGL 3.1 thru 4.6. So you don't necessarily need to target 4.0
, you can also target 4.6
or something like 4.1
(4.1
is the highest OpenGL version macos supports).
Since @NogginBops implemented this, I'm going to close this issue. You can open another issue if there's still functionality that's missing.