Index: src/gpu/GrProcessor.cpp |
diff --git a/src/gpu/GrProcessor.cpp b/src/gpu/GrProcessor.cpp |
index 6cc2a20d719b4c2b69e0064e1cc7e681beb6ffc5..39c55a60e4d12ed26f11eacd861dc502f3ecf56b 100644 |
--- a/src/gpu/GrProcessor.cpp |
+++ b/src/gpu/GrProcessor.cpp |
@@ -150,8 +150,9 @@ int GrFragmentProcessor::registerChildProcessor(const GrFragmentProcessor* child |
int index = fChildProcessors.count(); |
fChildProcessors.push_back(GrFragmentStage(child)); |
- if (child->willReadFragmentPosition()) |
+ if (child->willReadFragmentPosition()) { |
this->setWillReadFragmentPosition(); |
+ } |
return index; |
} |