Index: src/gpu/GrEffect.cpp |
diff --git a/src/gpu/GrEffect.cpp b/src/gpu/GrEffect.cpp |
index dc83f7b7cbbd3e52d782d5b19fe8d06e579df7e9..53dabb619c063e30dbf842c8d9df6e22ed7f03c6 100644 |
--- a/src/gpu/GrEffect.cpp |
+++ b/src/gpu/GrEffect.cpp |
@@ -90,11 +90,6 @@ void GrEffect::addTextureAccess(const GrTextureAccess* access) { |
fTextureAccesses.push_back(access); |
} |
-void GrEffect::addVertexAttrib(GrSLType type) { |
- SkASSERT(fVertexAttribTypes.count() < kMaxVertexAttribs); |
- fVertexAttribTypes.push_back(type); |
-} |
- |
void* GrEffect::operator new(size_t size) { |
return GrEffect_Globals::GetTLS()->allocate(size); |
} |