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