SFML community forums

Help => Window => Topic started by: bnz on March 13, 2010, 08:12:54 pm

Title: OpenGL context
Post by: bnz 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
Title: OpenGL context
Post by: Laurent 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.
Title: OpenGL context
Post by: bnz 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
Title: OpenGL context
Post by: Laurent 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.
Title: OpenGL context
Post by: bnz 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
Title: OpenGL context
Post by: Laurent 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.