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

Author Topic: OpenGL Extension checking in SFML 1.3  (Read 2999 times)

0 Members and 2 Guests are viewing this topic.

Caste

  • Newbie
  • *
  • Posts: 2
    • View Profile
OpenGL Extension checking in SFML 1.3
« 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!!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
OpenGL Extension checking in SFML 1.3
« Reply #1 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).
Laurent Gomila - SFML developer

Caste

  • Newbie
  • *
  • Posts: 2
    • View Profile
OpenGL Extension checking in SFML 1.3
« Reply #2 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

quasius

  • Full Member
  • ***
  • Posts: 166
    • View Profile
OpenGL Extension checking in SFML 1.3
« Reply #3 on: August 21, 2008, 07:12:18 am »
I'm using glee with no problems.  But as Laurent said, the include order is important.

 

anything