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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - randomman159

Pages: [1]
1
General / Re: glEnableVertexAttribArray is undefined.
« on: November 29, 2014, 06:10:58 am »
Thanks for the quick reply.

It's been a while since I last used OpenGL, and never with SFML so I'm a bit lost with the whole subject.
I'm including SFML/OpenGL.hpp

I also just read somewhere that I shouldn't be including things like glew because SFML already does that.

2
General / glEnableVertexAttribArray is undefined.
« on: November 29, 2014, 05:16:38 am »
From what I can tell, SFML claims to provide access to OpenGL functionality.

I have included and linked the appropriate libraries, and successfully rendered a cube to the screen, so I know I've gotten it working for the most part. (I have access to functions such as glBegin).

Some functions however, are marked as undefined.
glGenVertexArrays, glBindVertexArray, glEnableVertexAttribArray, glVertexAttribPointer

Are these outdated, not working with SFML, or am I doing something else wrong?

Pages: [1]
anything