Index: src/gpu/GrEffect.cpp |
diff --git a/src/gpu/GrEffect.cpp b/src/gpu/GrEffect.cpp |
index 50a198002f51db62b2ffb1ef3213a43a332cd28b..28c23d7da6bec464927350d359b1edb9c4b45bf4 100644 |
--- a/src/gpu/GrEffect.cpp |
+++ b/src/gpu/GrEffect.cpp |
@@ -72,7 +72,7 @@ void GrEffect::addCoordTransform(const GrCoordTransform* transform) { |
void GrEffect::addTextureAccess(const GrTextureAccess* access) { |
fTextureAccesses.push_back(access); |
- this->addProgramResource(access->getProgramTexture()); |
+ this->addGpuResource(access->getProgramTexture()); |
} |
void* GrEffect::operator new(size_t size) { |