I’d like to play around with uniform buffer objects, but several problems have come up. I cannot create an OpenGL 3.2 context, due to other reasons, so i am stuck with 2.1, but as i interpret the specification, it should run there just fine.
The problem is, when i write
#extension GL_ARB_uniform_buffer_object : enable
into the shader, the nVidia driver (191.xx) complains that extension were not supported (OpenGL extension viewer tells me otherwise).
Do i need to do anything else? I cannot use #version 140/150, but the specification says it is written agains GLSL 1.2 anyway.
And apart from the shader that won’t compile, i also don’t have the function-pointers initialized yet, because GLEW and GLEE are not updated in ages and don’t know that extension, at all, so far. I really don’t like initializing extensions manually, so IF i find out how to convice the GLSL compiler to support that extension, is there also some quick and easy way to initialize the function pointers?