diff options
Diffstat (limited to 'gm/imagealphathreshold.cpp')
-rw-r--r-- | gm/imagealphathreshold.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/imagealphathreshold.cpp b/gm/imagealphathreshold.cpp index 97524cea8e..1e90f76bf0 100644 --- a/gm/imagealphathreshold.cpp +++ b/gm/imagealphathreshold.cpp @@ -104,7 +104,7 @@ protected: } void onDraw(SkCanvas* canvas) override { - SkImageInfo info = SkImageInfo::MakeN32(WIDTH, HEIGHT, kOpaque_SkAlphaType); + SkImageInfo info = SkImageInfo::MakeS32(WIDTH, HEIGHT, kOpaque_SkAlphaType); auto surface(canvas->makeSurface(info)); if (nullptr == surface) { surface = SkSurface::MakeRaster(info); |