Fix skottie2movie after asyncRescaleAndReadPixels changes

TBR=reed
Change-Id: I0cf49886b5cfee78a19ef4f521572db63fc477ba
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/350021
Reviewed-by: Florin Malita <fmalita@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
This commit is contained in:
Florin Malita 2021-01-05 12:56:34 -05:00 committed by Skia Commit-Bot
parent 61b2e81c4f
commit 6356cb1904

View File

@ -145,7 +145,7 @@ int main(int argc, char** argv) {
}; };
surf->asyncRescaleAndReadPixels(info, {0, 0, info.width(), info.height()}, surf->asyncRescaleAndReadPixels(info, {0, 0, info.width(), info.height()},
SkSurface::RescaleGamma::kSrc, SkSurface::RescaleGamma::kSrc,
kNone_SkFilterQuality, SkImage::RescaleMode::kNearest,
read_pixels_cb, &asyncRec); read_pixels_cb, &asyncRec);
context->submit(); context->submit();
} else { } else {