Commit 401a0bc5 by Geoff Lang

Fix D3D9 attributes being marked as requireing conversion when they did

not. R=jmadill@chromium.org,shannonwoods@chromium.org Review URL: https://codereview.appspot.com/14737043
parent 71cc91fc
......@@ -153,7 +153,7 @@ bool VertexBuffer9::getSpaceRequired(const gl::VertexAttribute &attrib, GLsizei
bool VertexBuffer9::requiresConversion(const gl::VertexAttribute &attrib) const
{
return formatConverter(attrib).identity;
return !formatConverter(attrib).identity;
}
bool VertexBuffer9::requiresConversion(const gl::VertexAttribCurrentValueData &currentValue) const
......
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