SFML community forums
Help => Graphics => Topic started 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!!
-
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.
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).
-
Okay I was using GLee which made problems, glew doesn't.
But both need to be included before gl.h . :D
-
I'm using glee with no problems. But as Laurent said, the include order is important.