gl3w icon indicating copy to clipboard operation
gl3w copied to clipboard

gl3w falsely reports OpenGL 3.3 is not supported

Open BryanHaley opened this issue 4 years ago • 3 comments

System information: VMWare Player with 3D Acceleration Manjaro Linux as Guest OS, Windows 10 as Host OS (GTX 1660 Ti GPU) glxinfo in guest OS:

server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
    Max core profile version: 3.3
    Max compat profile version: 3.3
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 2.0
OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.0.7
OpenGL core profile shading language version string: 3.30
OpenGL version string: 3.3 (Compatibility Profile) Mesa 20.0.7
OpenGL shading language version string: 3.30
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 20.0.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16

Using gl3wIsSupported(3, 3) returns 0. However, OpenGL 3.3 works fine, and I am able to create an OpenGL 3.3 context with GLFW and use the functions provided by gl3w to render to it.

BryanHaley avatar Jun 03 '20 06:06 BryanHaley

Interesting. What does this:

	int major, minor;
	glGetIntegerv(GL_MAJOR_VERSION, &major);
	glGetIntegerv(GL_MINOR_VERSION, &minor);
	printf("%d.%d\n", major, minor);

output?

skaslev avatar Jun 10 '20 13:06 skaslev

3.3

BryanHaley avatar Jun 10 '20 19:06 BryanHaley

Just checked on macOS. It also falsely reports 3.3 is not available despite being able to use 3.3 in that application. (MacBook Pro 2015 with Intel Iris Pro, Mojave 10.14.6). Don't have access to Windows atm to test there but I wonder if this is a universal issue.

BryanHaley avatar Jun 10 '20 20:06 BryanHaley