Fix uninit of mask var

git-svn-id: http://skia.googlecode.com/svn/trunk@1369 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bsalomon@google.com 2011-05-18 19:02:42 +00:00
parent 02b5331078
commit 00e17c5a1b

View File

@ -185,7 +185,7 @@ public:
}
int getActiveMaskStageMask() const {
int mask;
int mask = 0;
for (int i = 0; i < kMaxMasks; ++i) {
if (NULL != fMaskTextures[i]) {
mask |= 1 << (i + kFirstMaskStage);