I had a problem when trying to use VBO in OpenGL (using a lot of tutorials on this) - every time I call glBufferData, I get an "access violation in atioglxx.dll" error message. I try to use different data types, vertices, etc., but have not succeeded. The pseudocode is as follows:
GLDouble[] VertexArray = {1.0, 0.0, 1.0, 0.0, 0.0, -1.0, -1.0, 0.0, 1.0};
glGenBuffers(1, @VertexList);
glBindBuffer(GL_ARRAY_BUFFER, VertexList);
glBufferData(GL_ARRAY_BUFFER, sizeof(VertexArray), @VertexArray, GL_STATIC_DRAW);
source
share