Revert "mesa: Don't add 1 to GL_ACTIVE_UNIFORM_MAX_LENGTH."
authorEric Anholt <eric@anholt.net>
Wed, 25 Aug 2010 23:38:37 +0000 (16:38 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 25 Aug 2010 23:45:31 +0000 (16:45 -0700)
commitb2872ea353efd117fcc4d22f0ca66a26f95a14c4
tree5e4764843deb0155a062a02570a3b7d88fb8f0b9
parent5226f8c7b0025031e8540adc93ecfe0b36b8f90f
Revert "mesa: Don't add 1 to GL_ACTIVE_UNIFORM_MAX_LENGTH."

This reverts commit 001a7bfdfc8b3c8930d5ced21982dbdfb8cd35b3.  I
hadn't found the section of the spec clarifying that the old behavior
was right.  Reverting fixes the new version of the testcase, and the
Humus demos that could no longer find their uniforms.

Bug #29782
Bug #29783
src/mesa/main/shaderapi.c