Re: Checking if a certain version is available on the system
Posted by
ColaColin on
Jun 17, 2015; 12:20pm
URL: https://forum.jogamp.org/Checking-if-a-certain-version-is-available-on-the-system-tp4034713p4034727.html
I run a testprogram:
http://pastebin.com/G8e6PqDnThe output on the problematic laptop is:
can run OpenGL 4: false
can run OpenGL 3: true
GL version is 3.2 (Core profile, arb, compat[], FBO, hardware) - 3.2.9262 Core Profile Context
GLSL version number is 1.50.0
GLSL version check for 3.30 returns: false
So it's exactly one minor version away from supporting OpenGL 3.3. I guess the test for GL3 returns true for any 3.x version, which is not enough to determine if 3.3 is available.
I think I will first check if OpenGL 4 is available and if it is not available create a fake window to create a GLContext that I can ask for the exact supported version.
Thanks for the help