Every time I try to call glGetUniformLocation, it throws the following error.
java.lang.IllegalStateException: Function is not supported
at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:67)
at org.lwjgl.opengl.GL20.glGetUniformLocation(GL20.java:470)
at ShaderTest.initialize(ShaderTest.java:68)
I have tried creating the name byte buffer multiple ways (using BufferUtils, allocating a direct ByteBuffer) and it always returns the same result.
Is there something else I should be paying attention to?
(this is using lwjgl 1.0b3)
You graphics card doesn't seem to support glGetUniformLocation