Sign in to follow this  

glGenLists returns error

Recommended Posts

My glGenLists(1) call return 0. When I do glGetError(), I recieve the GL_INVALID_OPERATION error, which shold appear if : GL_INVALID_OPERATION is generated if glGenLists is called between a call to glBegin and the corresponding call to glEnd. (quoting from the reference page). Since I did not put it between glBegin and glEnd, what else can cause this error?

Share this post

Link to post
Share on other sites

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