diff options
-rw-r--r-- | include/gpu/GrSamplerState.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/GrSamplerState.h b/include/gpu/GrSamplerState.h index 3cafa457fa..b1c4852d7f 100644 --- a/include/gpu/GrSamplerState.h +++ b/include/gpu/GrSamplerState.h @@ -115,7 +115,7 @@ public: } bool operator !=(const GrSamplerState& s) const { return !(*this == s); } - GrSamplerState& operator =(const GrSamplerState s) { + GrSamplerState& operator =(const GrSamplerState& s) { // memcpy() breaks refcounting fWrapX = s.fWrapX; fWrapY = s.fWrapY; |