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

Author Topic: OpenGL 3.0 support  (Read 1492 times)

0 Members and 1 Guest are viewing this topic.

bialpio

  • Newbie
  • *
  • Posts: 2
    • View Profile
OpenGL 3.0 support
« on: May 14, 2010, 05:57:04 pm »
I am trying to enable following functions:

Code: [Select]

glCreateShaderObject
glCreateProgramObject
glCompileShader
glShaderSource
glAttachObject
glLinkProgram
glUseProgramObject


I have noticed that SFML uses GLEW. Is there any way it can be done automatically or should I include and call GLEW explicitly in my project?

I don't care which version of SFML I will have to use, I just want to get it working.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
OpenGL 3.0 support
« Reply #1 on: May 14, 2010, 06:18:47 pm »
SFML uses GLEW internally, it doesn't expose its functionality publicly.

It's up to the user to use whatever he likes to handle OpenGL extensions.
Laurent Gomila - SFML developer