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:
parent
02b5331078
commit
00e17c5a1b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user