提交 803d0e3e 编写于 作者: B Brian Osman 提交者: Chinmay Garde

Do legacy image decoding for now (#3480)

上级 12c41bdc
......@@ -40,9 +40,9 @@ sk_sp<SkImage> DecodeImage(sk_sp<SkData> buffer) {
}
if (auto context = ResourceContext::Get()) {
auto colorspace = SkColorSpace::MakeSRGB();
// TODO: Supply actual destination color space once available
if (auto texture_image =
raster_image->makeTextureImage(context, colorspace.get())) {
raster_image->makeTextureImage(context, nullptr)) {
#ifdef OS_ANDROID
glFlush();
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册