[android-developers] GL_INVALID_OPERATION (1282) after glDrawElements using Vertex Buffer Objects (VBO)
Hi,
I'm working on a game using VBO for model rendering. Everything works
fine, except when I lose context and reload all the models and
textures I get a GL_INVALID_OPERATION error after calling
glDrawElements with my VBO.
Actually I have to lose context two times. Restoring after the first
time works fine.
This actually led me to assumtion that there's some kind of internal
out-of-memory error or alike.
But I don't get an GL_OUT_OF_MEMORY error but a GL_INVALID_OPERATION
error instead.
I tried both, actually using glGenTextures/glDeleteTextures and
glGenBuffers/glDeleteBuffers as well as just increasing the buffer ids
manually for each new buffer/texture. Both with the same result.
Any ideas?
Thanks
Peter
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home