access conflict when glCreateShaderObjectARB

Recommended Posts

huaner    100
Hi: this is my first glsl framework.unfortunatly, it happened the mistake of accessing conflict. so i tracked it, i found when got the function of glCreateShaderObjectARB, it happened. my codes as fellow:
GLhandleARB v,f;
f = glCreateShaderObjectARB(GL_FRAGMENT_SHADER_ARB);
thank you very much!

Share on other sites
Ingrater    187
Are you loading the Extensions yourself, or do you use a library like GLee or GLEW ?

I had the same problem when i tried to load the extensions myself, using GLee solved the Problem.

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