Hi Forum,

I am having trouble to create a buffer object . The buffer id is returning 0 . Is this a valid value?

I checked in the funcion reference - glIsBuffer() that it returns false if the buffer id is 0.

I am lost here, i am not aware of the reasons why you might have the buffer id 0 even after calling the function :

Code :
glGenBuffers(1,&bufferId);

Some explanation over this issue would be very helpful, specially where to look into once you have this type of bug.

Thanks
Sajjadul