Jump to content
  • Advertisement
Sign in to follow this  
vivendi

something like glDrawElements

This topic is 4865 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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!