Commit 12505491 by Jamie Madill

Fix a regression in VertexBuffer9::spaceRequired.

R=shannonwoods@chromium.org ANGLEBUG=467 Review URL: https://codereview.appspot.com/13248043 Test=WebGL CTS 1.0.2
parent ff989da2
......@@ -483,7 +483,7 @@ bool VertexBuffer9::spaceRequired(const gl::VertexAttribute &attrib, std::size_t
{
unsigned int elementSize = formatConverter(attrib).outputElementSize;
if (instances == 0 || attrib.mDivisor == 0)
if (attrib.mArrayEnabled)
{
unsigned int elementCount = 0;
if (instances == 0 || attrib.mDivisor == 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