SFML community forums

Help => Graphics => Topic started by: Caste on August 20, 2008, 12:32:18 pm

Title: OpenGL Extension checking in SFML 1.3
Post by: Caste on August 20, 2008, 12:32:18 pm
Hey folks,

I used SFML some time ago, now I wanted to use it again and noticed that the OpenGL Extension Checking mechanism has vanished. And including GLee before the SFML includes produces some weird errors.

Is this feature added in SVN again or plans to add it to 1.4? I hope so!

Any idea how to quick-fix that?

@Laurent: Great job you're doing, I really like SFML!!
Title: OpenGL Extension checking in SFML 1.3
Post by: Laurent on August 20, 2008, 01:07:14 pm
Quote
I used SFML some time ago, now I wanted to use it again and noticed that the OpenGL Extension Checking mechanism has vanished

Indeed, I removed everything related to GLEW. This is to ensure future compatibility with new systems using OpenGL ES or something else.

Quote
And including GLee before the SFML includes produces some weird errors

Usually, OpenGL-related headers must be included after windows.h or gl.h (so, after SFML headers).
Title: OpenGL Extension checking in SFML 1.3
Post by: Caste on August 20, 2008, 02:18:00 pm
Okay I was using GLee which made problems, glew doesn't.

But both need to be included before gl.h . :D
Title: OpenGL Extension checking in SFML 1.3
Post by: quasius on August 21, 2008, 07:12:18 am
I'm using glee with no problems.  But as Laurent said, the include order is important.