Hey there!
So I’m getting this message from Nvidia (295.51) drivers when debugging my app:
OGLE: Category: 0x00000800, MessageID: 0x008B0002
The current buffer object related state may lead to non-optimal
performance: Trying to allocate VBO (2) with size:, 96 bytes to
location: VID
OGLE: Category: 0x00000800, MessageID: 0x008B0002
The current buffer object related state may lead to non-optimal
performance: Buffer object 2 (bound to
GL_ELEMENT_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will
use VIDEO memory as the source for buffer object operations.
I know it’s just a performance warning, but what confuses my is that it reports I my buffer is bound to GL_ELEMENT_ARRAY_BUFFER_ARB, where in fact it should be bound to GL_ARRAY_BUFFER_ARB, according to the source code:
glBindBuffer(GL_ARRAY_BUFFER_ARB, axisBufferObject[0]);
glBufferData(GL_ARRAY_BUFFER_ARB, sizeof(verticesAxis), verticesAxis, GL_STATIC_DRAW);
Is this a known bug, or am I missing something?
(I’m using glew 1.7.0 x64 with experimental flag set to true )