The whole program is quite long,and i dont know which part causes the problem.
The only thing i know is the main cause of this error is using GL.glGenVertexArrays.
i will try my best to extract the error part of the code or recreate the problem and post it here only around next week ,because i cant program during weekday because of school.
At the mean time,can anyone answer the third question first?
3)are there difference between 'vao=glGenVertexArray(1)' and glGenVertexArray(1,vao)
The only thing i know is the main cause of this error is using GL.glGenVertexArrays.
i will try my best to extract the error part of the code or recreate the problem and post it here only around next week ,because i cant program during weekday because of school.
At the mean time,can anyone answer the third question first?
3)are there difference between 'vao=glGenVertexArray(1)' and glGenVertexArray(1,vao)