https://bugs.winehq.org/show_bug.cgi?id=38158
--- Comment #3 from Ken Thomases ken@codeweavers.com --- You could have been clearer. I gather that you ran the glewinfo.exe program from https://sourceforge.net/projects/glew/files/glew/1.12.0/glew-1.12.0-win32.zip/download.
What about that output is different from what you expect?
Is this the problem:
OpenGL version 2.1 NVIDIA-10.0.19 310.90.10.05b12 is supported
?
From a +wgl log, it looks like glewinfo.exe/GLEW is just calling
wglCreateContext(). It's not calling wglCreateContextAttribsARB(), let alone specifying any attributes.
When an app calls wglCreateContext(), the implementation may return a context of any version that is backward-compatible with OpenGL 1.0. As per the WGL_ARB_create_context spec, that can include versions up through 3.0, version 3.1 with GL_ARB_compatibility, or version 3.2 (or later) compatibility profile.
OS X does not provide GL_ARB_compatibility, so 3.1 is not acceptable. Likewise, it does not provide compatibility profiles for 3.2 or later. It only provides core profiles. In fact, they are the more restrictive forward-compatible core profiles.
On OS X, an app can only obtain a 3.2 core profile if it calls wglCreateContextAttribsARB() and specifies version 3.2, 3.3, 4.0, or 4.1; WGL_CONTEXT_FLAGS_ARB == WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB; and WGL_CONTEXT_PROFILE_MASK_ARB == WGL_CONTEXT_CORE_PROFILE_BIT_ARB. glewinfo.exe does not do that, so it just gets a 2.1 context.
Was glewinfo.exe the real thing you wanted working?