commit | 730ca3b5d943eda8438e3e2b3c57df916fc32151 | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Apr 03 13:25:12 2012 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Apr 03 13:25:12 2012 +0000 |
tree | 468ea6a3bdfb8371ed4ef83b56f6632f3593fcfd | |
parent | 2858b31d4b7b0a2c0e7e090da7bcdf40a0a846ce [diff] [blame] |
Fix NULL as SkColor warning on clang. git-svn-id: http://skia.googlecode.com/svn/trunk@3582 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index 9e4a7b6..9113fba 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp
@@ -65,7 +65,7 @@ #define DO_DEFERRED_CLEAR \ do { \ if (fNeedClear) { \ - this->clear(NULL); \ + this->clear(0x0); \ fNeedClear = false; \ } \ } while (false) \