diff options
Diffstat (limited to 'src/views')
-rw-r--r-- | src/views/SkWindow.cpp | 2 | ||||
-rw-r--r-- | src/views/mac/SkNSView.mm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/views/SkWindow.cpp b/src/views/SkWindow.cpp index 8f6b96f0e1..cca291a4e9 100644 --- a/src/views/SkWindow.cpp +++ b/src/views/SkWindow.cpp @@ -53,7 +53,7 @@ SkWindow::SkWindow() : fFocusView(NULL) { #ifdef SK_BUILD_FOR_WINCE fColorType = kRGB_565_SkColorType; #else - fColorType = kN32_SkColorType; + fColorType = kPMColor_SkColorType; #endif fMatrix.reset(); diff --git a/src/views/mac/SkNSView.mm b/src/views/mac/SkNSView.mm index 80bfd670ef..1014ffe04d 100644 --- a/src/views/mac/SkNSView.mm +++ b/src/views/mac/SkNSView.mm @@ -57,7 +57,7 @@ SK_COMPILE_ASSERT(SK_SUPPORT_GPU, not_implemented_for_non_gpu_build); size = [self convertSizeToBacking:self.frame.size]; #endif fWind->resize((int) size.width, (int) size.height, - kN32_SkColorType); + kPMColor_SkColorType); } } |