Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.

Captian Goatse

VBOs and standard vertexarray calls?

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

Is it possible to do standard GL_VERTEX_ARRAY calls if the VBO is already used in some parts of the code? I try to do this, but I get segfaults with both glArrayElement glDrawArrays and glDrawArrayElements. I''m using VBOs already, however I keep all data static in the memory and there is no more room for the sky. So is this possible? If not, does anyone have any idea where I might get these faults? I''ve managed to render it twice or thrice without crashing, however it seems to be that it tries to render from some other array, and they are not even close to what is supposed to be.

Share this post

Link to post
Share on other sites
After using VBOs do glBindBuffer(GL_ARRAY_BUFFER_ARB, 0) to
disable the VBOs.

[ My Site ]
''I wish life was not so short,'' he thought. ''Languages take such a time, and so do all the things one wants to know about.'' - J.R.R Tolkien

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!