Ok, solved it by myself by inspecting the VertexProgWarp.java of the demos. In the first calls to the display method it seems like opengl is not fully initialized, therefore it throws an invalid operation. I included a framecounter that gets incremented on each display-invocation and only call methods like glVertexAttribPointer when the counter is greater than 1.
Free forum by Nabble | Edit this page |