Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML - Which OpenGL Version does it use?  (Read 4150 times)

0 Members and 1 Guest are viewing this topic.

Njifra

  • Guest
SFML - Which OpenGL Version does it use?
« on: March 21, 2014, 12:56:38 am »
Title says everything.
I want to know what version of OpenGL does SFML uses.
 :D

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10835
    • View Profile
    • development blog
    • Email
Re: SFML - Which OpenGL Version does it use?
« Reply #1 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
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

dabbertorres

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • website/blog
Re: SFML - Which OpenGL Version does it use?
« Reply #2 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. majorVersion and minorVersion specifically.