SFML community forums

General => General discussions => Topic started by: Njifra on March 21, 2014, 12:56:38 am

Title: SFML - Which OpenGL Version does it use?
Post by: Njifra on March 21, 2014, 12:56:38 am
Title says everything.
I want to know what version of OpenGL does SFML uses.
 :D
Title: Re: SFML - Which OpenGL Version does it use?
Post by: eXpl0it3r on March 21, 2014, 02:28:55 am
By default 2.x something, but with the right code you can use any newer version. :D
Title: Re: SFML - Which OpenGL Version does it use?
Post by: dabbertorres on March 21, 2014, 07:08:44 am
If I understand the code correctly, you can get the version your window is using with this (http://www.sfml-dev.org/documentation/2.0/structsf_1_1ContextSettings.php#details). majorVersion and minorVersion specifically.