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

Author Topic: OpenGL context  (Read 3052 times)

0 Members and 1 Guest are viewing this topic.

bnz

  • Newbie
  • *
  • Posts: 22
    • View Profile
OpenGL context
« on: March 13, 2010, 08:12:54 pm »
Hi,

is there a way to check what kind of OpenGL context was created by a sf::Window? And also, whether it's a compatibility or core profile?

Thanks,
bnz

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
OpenGL context
« Reply #1 on: March 13, 2010, 08:52:36 pm »
Not in SFML 1, but in SFML 2 you can control the version of the OpenGL context.
Laurent Gomila - SFML developer

bnz

  • Newbie
  • *
  • Posts: 22
    • View Profile
OpenGL context
« Reply #2 on: March 13, 2010, 10:29:36 pm »
Ah, cool.

I guess I'll have a look at SFML 2 then.
The documentation for SFML 2 does not seem to mention this possibilty - is it already implemented?

Greetings,
bnz

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
OpenGL context
« Reply #3 on: March 13, 2010, 10:33:35 pm »
Quote
The documentation for SFML 2 does not seem to mention this possibilty - is it already implemented?

What documentation? There is no documentation for SFML 2 yet :lol:

And yes, it is already implemented.
Laurent Gomila - SFML developer

bnz

  • Newbie
  • *
  • Posts: 22
    • View Profile
OpenGL context
« Reply #4 on: March 13, 2010, 10:44:20 pm »
Quote
What documentation? There is no documentation for SFML 2 yet :lol:

Oh, then "Documentation for SVN Version (next version)" is a bit misleading. =)

I'll try it out then.

Greetings,
bnz

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
OpenGL context
« Reply #5 on: March 13, 2010, 10:45:46 pm »
Quote
Oh, then "Documentation for SVN Version (next version)" is a bit misleading. =)

Next version is 1.6, but yeah not everybody knows that.
Laurent Gomila - SFML developer

 

anything