aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleFatBits.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SampleFatBits.cpp')
-rw-r--r--samplecode/SampleFatBits.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleFatBits.cpp b/samplecode/SampleFatBits.cpp
index eac713632f..3641ec96a3 100644
--- a/samplecode/SampleFatBits.cpp
+++ b/samplecode/SampleFatBits.cpp
@@ -21,7 +21,7 @@
#define WIRE_FRAME_SIZE 1.5f
static void erase(SkSurface* surface) {
- surface->getCanvas()->clear(0);
+ surface->getCanvas()->clear(SK_ColorTRANSPARENT);
}
static SkShader* createChecker() {