diff options
author | 2009-04-14 14:28:22 +0000 | |
---|---|---|
committer | 2009-04-14 14:28:22 +0000 | |
commit | 9781ca586618cc8ea055f54021e706824313d4f5 (patch) | |
tree | 2d6d4dffba13e109d846a049d21c0239f4acbf8f /src/utils/SkNinePatch.cpp | |
parent | fc3ac327d8e041e11049d7f0dfc7f491590cda75 (diff) |
add SkSfntUtils to parse some known truetype tables
add comments and cleanup to count_tables in SkFontHost_tables.cpp
fix transparency bug in gifs
use (alpha+1) for blending in srcover mode, to ensure opaque results
git-svn-id: http://skia.googlecode.com/svn/trunk@155 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/utils/SkNinePatch.cpp')
-rw-r--r-- | src/utils/SkNinePatch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/SkNinePatch.cpp b/src/utils/SkNinePatch.cpp index b8e11fbcaf..3d85edcf93 100644 --- a/src/utils/SkNinePatch.cpp +++ b/src/utils/SkNinePatch.cpp @@ -186,7 +186,7 @@ void SkNinePatch::DrawMesh(SkCanvas* canvas, const SkRect& bounds, if (numXDivs == 2 && numYDivs <= 2) { mesh.fIndices = g3x3Indices; } else { - int n = fillIndices(indices, numXDivs + 1, numYDivs + 1); + SkDEBUGCODE(int n =) fillIndices(indices, numXDivs + 1, numYDivs + 1); SkASSERT(n == indexCount); mesh.fIndices = indices; } |