Commit 2a5645f7 by zmo@google.com

Fix a typo in r592. (I developped on Windows and typed in on Mac and submit).

BUG=135 TEST=build fine TBR=kbr@chromium.org Review URL: http://codereview.appspot.com/4285066 git-svn-id: https://angleproject.googlecode.com/svn/trunk@593 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 53d73e04
...@@ -2743,7 +2743,7 @@ GLint Program::getActiveUniformMaxLength() ...@@ -2743,7 +2743,7 @@ GLint Program::getActiveUniformMaxLength()
if (!mUniforms[uniformIndex]->name.empty() && mUniforms[uniformIndex]->name.substr(0, 3) != "dx_") if (!mUniforms[uniformIndex]->name.empty() && mUniforms[uniformIndex]->name.substr(0, 3) != "dx_")
{ {
int length = (int)(undecorate(mUniforms[uniformIndex]->name).length() + 1); int length = (int)(undecorate(mUniforms[uniformIndex]->name).length() + 1);
if (mUniforms[uniform]->arraySize != 1) if (mUniforms[uniformIndex]->arraySize != 1)
{ {
length += 3; // Counting in "[0]". length += 3; // Counting in "[0]".
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment