SFML community forums

General => General discussions => Topic started by: AgonizingBroadcast on May 13, 2013, 06:59:41 pm

Title: Modern OpenGL with SFML 2.0
Post by: AgonizingBroadcast on May 13, 2013, 06:59:41 pm
Is it possible to use modern OpenGL (4+) with SFML 2.0?
Title: Re: Modern OpenGL with SFML 2.0
Post by: zsbzsb on May 13, 2013, 07:08:14 pm
Is it possible to use modern OpenGL (4+) with SFML 2.0?

Not at the moment, but what is the reason that you want a newer version of OpenGL?
Title: Re: Modern OpenGL with SFML 2.0
Post by: AgonizingBroadcast on May 13, 2013, 07:09:46 pm
Is it possible to use modern OpenGL (4+) with SFML 2.0?

Not at the moment, but what is the reason that you want a newer version of OpenGL?

Ah okay, I wanted to use it as soon it's going to become a standard and it will help me understand graphics programming. Thanks for the fast reply.
Title: Re: Modern OpenGL with SFML 2.0
Post by: Laurent on May 13, 2013, 07:11:22 pm
Yes it is possible.
Title: Re: Modern OpenGL with SFML 2.0
Post by: AgonizingBroadcast on May 13, 2013, 07:13:40 pm
Yes it is possible.

Oh. Is there any special function calls I need to do or does it just work out of the box when I include SFML/OpenGL.hpp and SFML/Graphics.hpp ?
Title: Re: Modern OpenGL with SFML 2.0
Post by: iride on May 13, 2013, 10:00:29 pm
You probably need glew
Title: Re: Modern OpenGL with SFML 2.0
Post by: Laurent on May 13, 2013, 10:38:39 pm
Read the "OpenGL in a SFML window" tutorial, everything is explained.
Title: Re: Modern OpenGL with SFML 2.0
Post by: zsbzsb on May 13, 2013, 10:46:23 pm
Yes it is possible.

Yea my bad....  :-\
I clicked the reply button to fast... Yes it is possibly to use higher versions of OpenGL.

I thought the OP wanted to make SFML internally work with a higher version like OpenGL ES.