| commit | 00e17c5a1b37de8e9f9e9a413527080e94f82cb3 | [log] [tgz] |
|---|---|---|
| author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed May 18 19:02:42 2011 +0000 |
| committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed May 18 19:02:42 2011 +0000 |
| tree | bed5ed4e993e487d85408d4832d1fb268e23fa41 | |
| parent | 02b5331078861b02b61e9a93f845617a7c900409 [diff] [blame] |
Fix uninit of mask var git-svn-id: http://skia.googlecode.com/svn/trunk@1369 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/include/GrPaint.h b/gpu/include/GrPaint.h index f7ca34c..a7923f5 100644 --- a/gpu/include/GrPaint.h +++ b/gpu/include/GrPaint.h
@@ -185,7 +185,7 @@ } int getActiveMaskStageMask() const { - int mask; + int mask = 0; for (int i = 0; i < kMaxMasks; ++i) { if (NULL != fMaskTextures[i]) { mask |= 1 << (i + kFirstMaskStage);