Hi All,
It have found an error in CUDA C Programming Guide Version 3.2. In page 43 the example program contains two errors
In the documentation You can see:
glGenBuffers(1, positionsVBO);
glBindBuffer(GL_ARRAY_BUFFER, &vbo);
The correct form maybe the following:
glGenBuffers(1, &positionsVBO);
glBindBuffer(GL_ARRAY_BUFFER, positionsVBO);
Best regards
Travis