Index: samplecode/PerlinPatch.cpp |
diff --git a/samplecode/PerlinPatch.cpp b/samplecode/PerlinPatch.cpp |
index ad2d6bede0e3683a1c604ccef858e18b58ca9496..c5a0db8b6bf17b9b170231a39110798a785ad059 100644 |
--- a/samplecode/PerlinPatch.cpp |
+++ b/samplecode/PerlinPatch.cpp |
@@ -129,7 +129,7 @@ protected: |
} |
SkPaint paint; |
- |
+ |
SkScalar texWidth = fTexScale * TexWidth; |
SkScalar texHeight = fTexScale * TexHeight; |
const SkPoint texCoords[SkPatchUtils::kNumCorners] = { |
@@ -138,7 +138,7 @@ protected: |
{ fTexX + texWidth, fTexY + texHeight}, |
{ fTexX - texWidth, fTexY + texHeight}} |
; |
- |
+ |
SkAutoTUnref<SkXfermode> xfer(SkXfermode::Create(SkXfermode::kSrc_Mode)); |
SkScalar scaleFreq = 2.0; |
@@ -204,4 +204,3 @@ private: |
}; |
DEF_SAMPLE( return new PerlinPatchView(); ) |
- |