diff options
author | joshualitt <joshualitt@chromium.org> | 2015-08-05 09:30:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-05 09:30:02 -0700 |
commit | 847029043ec48c150a07e44ffff15151a394f888 (patch) | |
tree | cafdaffdfe68c59bc7f9105018680d1f0ef24cf2 /include | |
parent | d8aa59df636b6936b1b4d2e40903a87d9202c289 (diff) |
fix for GrFragmentProcessor isEqual in GrPipeline
BUG=skia:
Review URL: https://codereview.chromium.org/1273693003
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/GrStagedProcessor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/GrStagedProcessor.h b/include/gpu/GrStagedProcessor.h index 170283102c..a9f23b485b 100644 --- a/include/gpu/GrStagedProcessor.h +++ b/include/gpu/GrStagedProcessor.h @@ -25,7 +25,7 @@ public: const GrFragmentProcessor* processor() const { return fProc.get(); } bool operator==(const GrStagedProcessor& that) const { - return this->processor() == that.processor(); + return this->processor()->isEqual(*that.processor()); } bool operator!=(const GrStagedProcessor& that) const { return !(*this == that); } |