Original Post
Hi guys,
I'm having some troubles with integrating speedtree 5.2 because every glDrawElements call generates GL_INVALID_OPERATION and does not render anything even though the vertex and index buffers are constructed properly(that's why everybody is using speedtree).
Can you guys give me a practical example when and how glDrawElements might generate this error?I looked into specifications but dind't understand it completely.
Your answer can help me a lot finding the source of this problem.
I'm having some troubles with integrating speedtree 5.2 because every glDrawElements call generates GL_INVALID_OPERATION and does not render anything even though the vertex and index buffers are constructed properly(that's why everybody is using speedtree).
Can you guys give me a practical example when and how glDrawElements might generate this error?I looked into specifications but dind't understand it completely.
Your answer can help me a lot finding the source of this problem.