SFML community forums

Help => General => Topic started by: deamonDev on June 06, 2014, 01:02:46 am

Title: Problem with SFML & OpenGL integration
Post by: deamonDev on June 06, 2014, 01:02:46 am
Hello everyone!

I have small problem to integrate OpenGL (4.3) with SFML (2.1). When I try compile that code;

http://pastebin.com/RqSLmLZq

I receive problem like this one:

(http://i60.tinypic.com/2s9un1d.png)

I know the problem is with only when I try to invoke
glClearBufferfv
function, but I don't know why. I don't want to give up SFML because I very like it :)
Title: Re: Problem with SFML & OpenGL integration
Post by: lolz123 on June 06, 2014, 02:59:51 am
You have to call glewInit before using OpenGL functions.