From 344c9831c4115fc2a03da7c609fadacdc30be16c Mon Sep 17 00:00:00 2001 From: msarett Date: Thu, 16 Jun 2016 11:42:48 -0700 Subject: [PATCH] Fix Vulkan build after API change TBR=brianosman@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2075713002 Review-Url: https://codereview.chromium.org/2075713002 --- tools/viewer/ImageSlide.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/viewer/ImageSlide.cpp b/tools/viewer/ImageSlide.cpp index de5ce4ca1e..0eb3b0a6ce 100644 --- a/tools/viewer/ImageSlide.cpp +++ b/tools/viewer/ImageSlide.cpp @@ -47,7 +47,7 @@ void ImageSlide::load(SkScalar, SkScalar) { fOriginalBitmap.deepCopyTo(&fXformedBitmap); uint32_t* row = (uint32_t*) fXformedBitmap.getPixels(); for (int y = 0; y < fXformedBitmap.height(); y++) { - xform->xform_RGBA_8888(row, row, fXformedBitmap.width()); + xform->xform_RGB1_8888(row, row, fXformedBitmap.width()); row = SkTAddOffset(row, fXformedBitmap.rowBytes()); } fXformedBitmap.notifyPixelsChanged(); // This is needed for the deepCopy -- 2.34.1