aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrEffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrEffect.cpp')
-rw-r--r--src/gpu/GrEffect.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gpu/GrEffect.cpp b/src/gpu/GrEffect.cpp
index dc83f7b7cb..53dabb619c 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);
}