Sign in to follow this  

something like glDrawElements

This topic is 4400 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

Hello, i was wondering if there is another function that also renders primitives from array data. Just like glDrawElements. PS. and i also dont mean glDrawArrays :)

Share this post


Link to post
Share on other sites
I found what i was looking for, it was glDrawRangeElements.
But when i try to compile my code with this function i get

'glDrawRangeElements' : undeclared identifier

Any idea what could be wrong...??

Share this post


Link to post
Share on other sites
Since glDrawRangeElements is not a part of OpenGL 1.1 (therefore does not have native windows support) it is treated as an extension. Like any extension, You need to register it in order to use it.

(I can post code if you need it later, but I don't have any avalible just now...)

Share this post


Link to post
Share on other sites

This topic is 4400 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