Sign in to follow this  

glVertexAttrib* == NULL ?

This topic is 4812 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Tried to pass on some vertex attributes to my shader programs but failed misserably, the function pointers to all glVertexAttrib* are set to NULL and thus I get a NULL pointer exception when trying to use them, however all other ARB functions works perfectly fine. What I am using is the nvidia SDK 8.0 headerfiles (i.e include glh/glh_extensions.h, gl/glext.h, gl/wglext.h). Now I am quite bedazzled to why all other functions work (e.g glUniformARB, glUseProgramARB etc etc) but the Vertex Attribs don't... What do i need to get them to work ? GetProcAddress needs handle to the modle where that function resides in, and i have really no clue to where it can be and google didn't help me, and tbh since the others work all fine that seems to be a unessesary thing to do.

Share this post


Link to post
Share on other sites

This topic is 4812 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this