diff options
Diffstat (limited to 'src/gpu/GrDrawState.cpp')
-rw-r--r-- | src/gpu/GrDrawState.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrDrawState.cpp b/src/gpu/GrDrawState.cpp index aa9e692f6c..21bff8b668 100644 --- a/src/gpu/GrDrawState.cpp +++ b/src/gpu/GrDrawState.cpp @@ -146,7 +146,7 @@ bool GrDrawState::validateVertexAttribs() const { int slVecCount = GrSLTypeVectorCount(effectSLType); int attribVecCount = GrVertexAttribTypeVectorCount(attribType); if (slVecCount != attribVecCount || - (static_cast<GrSLType>(-1) != slTypes[attribIndex] && + (static_cast<GrSLType>(-1) != slTypes[attribIndex] && slTypes[attribIndex] != effectSLType)) { return false; } |