Commit 85fee29c by apatrick@chromium.org

Fix bad commit.

Review URL: https://codereview.appspot.com/6499078 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1272 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 60dafe8f
...@@ -2093,7 +2093,7 @@ bool ProgramBinary::defineUniform(InfoLog &infoLog, GLenum shader, const D3DCons ...@@ -2093,7 +2093,7 @@ bool ProgramBinary::defineUniform(InfoLog &infoLog, GLenum shader, const D3DCons
{ {
const D3DConstant *fieldConstant = constant->structMembers[arrayIndex][field]; const D3DConstant *fieldConstant = constant->structMembers[arrayIndex][field];
std::string structIndex = (fieldConstant->elements > 1) ? ("[" + str(arrayIndex) + "]") : ""; std::string structIndex = (constant->elements > 1) ? ("[" + str(arrayIndex) + "]") : "";
if (!defineUniform(infoLog, shader, fieldConstant, name + constant->name + structIndex + ".")) if (!defineUniform(infoLog, shader, fieldConstant, name + constant->name + structIndex + "."))
{ {
......
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