Jump to content


glGetUniformLocationARB fails on uniform vars


1 reply to this topic

#1 Nicholas Christopher

    Member

  • Members
  • PipPip
  • 77 posts

Posted 14 February 2008 - 12:26 AM

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
Architecture software development, and modeling
http:\\www.arconovum.com

#2 Nicholas Christopher

    Member

  • Members
  • PipPip
  • 77 posts

Posted 15 February 2008 - 02:22 PM

Well this is resolved, what exactly I did to fix it: I have no idea.
Nicholas Christopher
Architecture software development, and modeling
http:\\www.arconovum.com





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users