Archived

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

Captian Goatse

VBOs and standard vertexarray calls?

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
/*ilici*/

Share this post


Link to post
Share on other sites