Does this question even make sense?
SFML 2.0 has added a feature whereby you can specify an OpenGL version to use. Is there a terminal command I can run (or otherwise) to find out what version I should be using?
Does this question even make sense?
SFML 2.0 has added a feature whereby you can specify an OpenGL version to use. Is there a terminal command I can run (or otherwise) to find out what version I should be using?
To know your OpenGL version in Ubuntu,
Install Glxinfo
$sudo apt-get install mesa-utils
To Check OpenGL Version,
$glxinfo | grep "OpenGL version"
You will get the output as follows,
glxinfo | grep "OpenGL version"
OpenGL version string: 1.4 (2.1 Mesa 7.7.1)
Reference: https://askubuntu.com/questions/47062/what-is-terminal-command-that-can-show-opengl-version
There is no "should be using". The version you "should" be using is the minimum version that you want to support. What version that is depends on what hardware you want your program to execute on. If the hardware can't support that version, then your code simply won't run on it. And if you want your code to run on lower versions, then you should have asked for that version and written your application against that lower version.