PDA

View Full Version : glGetUniformLocationARB fails on uniform vars


Nicholas Christopher
02-13-2008, 04:26 PM
Hi,

I have a shader that compiles , and runs.
Then I edit it, and add new uniform variables to it, and the shader still compiles
and runs, but calls to glGetUniformLocationARB to get the location of those new vars fails(returns -1).

Anyone have any insight on this?

btw: you can rule out any typos, or reserved words.

Nicholas Christopher
02-15-2008, 06:22 AM
Well this is resolved, what exactly I did to fix it: I have no idea.