AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Does opengl 4.1 support 3.311/30/2023 ![]() And this will limit you to OpenGL 2.1 functionality. If you do not specify this when you request your pixel format, OS X will give you kCGLOGLPVersion_Legacy or NSOpenGLProfileVersionLegacy respectively. You can get a 4.1 or 3.3 context using this same constant in all honesty, including an actual version number in the constant was probably a poor choice. 3_2Core, what it actually means is request a context that removes all deprecated features and supports at least OpenGL 3.2 (a core profile, in other words). ![]() ![]() Now, while the particular constant is named. NSOpenGL: NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersion3_2Core When you request your pixel format using one of the lower-level APIs on OS X, you need to add the following to your attribute list in order to use a core profile: CGL: kCGLPFAOpenGLProfile, kCGLOGLPVersion_3_2_Core
0 Comments
Read More
Leave a Reply. |