Commit 681c50e7 by Geoff Lang

Fixed a bug where the vertex data manager was not caching the current

value attributes properly. ANGLEBUG=489 Review URL: https://codereview.appspot.com/18400043
parent 81795124
...@@ -266,6 +266,10 @@ GLenum VertexDataManager::prepareVertexData(const gl::VertexAttribute attribs[], ...@@ -266,6 +266,10 @@ GLenum VertexDataManager::prepareVertexData(const gl::VertexAttribute attribs[],
return GL_OUT_OF_MEMORY; return GL_OUT_OF_MEMORY;
} }
mCurrentValue[i][0] = attribs[i].mCurrentValue[0];
mCurrentValue[i][1] = attribs[i].mCurrentValue[1];
mCurrentValue[i][2] = attribs[i].mCurrentValue[2];
mCurrentValue[i][3] = attribs[i].mCurrentValue[3];
mCurrentValueOffsets[i] = streamOffset; mCurrentValueOffsets[i] = streamOffset;
} }
......
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