Index: gm/image_pict.cpp |
diff --git a/gm/image_pict.cpp b/gm/image_pict.cpp |
index 9d1dc513a8cbd74eba522595d90cc5937f12a2a8..fb3e5c631990f592024c3c9da3b7c7d0ce458153 100644 |
--- a/gm/image_pict.cpp |
+++ b/gm/image_pict.cpp |
@@ -316,6 +316,7 @@ protected: |
#if SK_SUPPORT_GPU |
SkAutoTUnref<GrTexture> texture(cache->lockAsTexture(canvas->getGrContext(), |
GrTextureParams::ClampBilerp(), |
+ SkSourceGammaTreatment::kRespect, |
nullptr)); |
if (!texture) { |
// show placeholder if we have no texture |