Zero out GrSamplerState in constructor to recover performance loss on Linux from r4102.

(Noise in padding bytes was breaking operator==())
Visual review by bsalomon@.



git-svn-id: http://skia.googlecode.com/svn/trunk@4108 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
tomhudson@google.com 2012-05-31 20:35:27 +00:00
parent 86a349caad
commit 194de08484

View File

@ -90,6 +90,7 @@ public:
, fRadial2Radius0()
, fRadial2PosRoot()
, fCustomStage (NULL) {
memset(this, 0, sizeof(GrSamplerState));
this->reset();
}