diff --git a/include/gpu/GrSamplerState.h b/include/gpu/GrSamplerState.h index 4d2d5f20f..3cafa457f 100644 --- a/include/gpu/GrSamplerState.h +++ b/include/gpu/GrSamplerState.h @@ -90,6 +90,7 @@ public: , fRadial2Radius0() , fRadial2PosRoot() , fCustomStage (NULL) { + memset(this, 0, sizeof(GrSamplerState)); this->reset(); }