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
This commit is contained in:
msarett 2016-06-16 11:42:48 -07:00 committed by Commit bot
parent ab8241880d
commit 344c9831c4

View File

@ -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<uint32_t>(row, fXformedBitmap.rowBytes());
}
fXformedBitmap.notifyPixelsChanged(); // This is needed for the deepCopy