Commit 9e30c6bf 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 b992a7d2
...@@ -182,7 +182,7 @@ bool VertexBuffer9::getSpaceRequired(const gl::VertexAttribute &attrib, GLsizei ...@@ -182,7 +182,7 @@ bool VertexBuffer9::getSpaceRequired(const gl::VertexAttribute &attrib, GLsizei
bool VertexBuffer9::requiresConversion(const gl::VertexAttribute &attrib) const bool VertexBuffer9::requiresConversion(const gl::VertexAttribute &attrib) const
{ {
return formatConverter(attrib).identity; return !formatConverter(attrib).identity;
} }
unsigned int VertexBuffer9::getVertexSize(const gl::VertexAttribute &attrib) const unsigned int VertexBuffer9::getVertexSize(const gl::VertexAttribute &attrib) 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