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

Author Topic: OpenGL which versions are supported/used?  (Read 1910 times)

0 Members and 1 Guest are viewing this topic.

Rosenzweig

  • Newbie
  • *
  • Posts: 13
    • View Profile
OpenGL which versions are supported/used?
« on: October 19, 2011, 11:29:58 pm »
So I'm using SFML 1.6 and I do not wish to use OpenGL 2.x anymore. I like shaders and vertex buffers. Well anyways, does SFML 1.6 use a specific version of OpenGL? Do I have to make it use a specific version? Can SFML 1.6 even use OpenGL 3.x+ or what?

Rosenzweig

  • Newbie
  • *
  • Posts: 13
    • View Profile
OpenGL which versions are supported/used?
« Reply #1 on: October 20, 2011, 12:16:54 am »
Apparently only SFML 2.0 supports OpenGL 3.x. Now to find out how it use 3.x or if it does it automatically.

OniLinkPlus

  • Hero Member
  • *****
  • Posts: 500
    • View Profile
OpenGL which versions are supported/used?
« Reply #2 on: October 20, 2011, 04:29:12 am »
Quote from: "Rosenzweig"
Apparently only SFML 2.0 supports OpenGL 3.x. Now to find out how it use 3.x or if it does it automatically.
ContextSettings.
I use the latest build of SFML2

Rosenzweig

  • Newbie
  • *
  • Posts: 13
    • View Profile
OpenGL which versions are supported/used?
« Reply #3 on: October 20, 2011, 06:55:22 am »
Quote from: "OniLink10"
ContextSettings.


Can you explain further? I just got done getting SFML 2.0 to work on my laptop.

SF:ContextSettings ContextSettings
ContextSettings.Major = 3;
ContextSettings.Minor = x;

I think I got it.