| Index: tools/gpu/GrTest.cpp
|
| diff --git a/tools/gpu/GrTest.cpp b/tools/gpu/GrTest.cpp
|
| index 818bf6462d827c927fdbfd0ed5cea9569d4bf9d1..1fec1a694b5ca64e277e398cf784b53a02ade949 100644
|
| --- a/tools/gpu/GrTest.cpp
|
| +++ b/tools/gpu/GrTest.cpp
|
| @@ -155,7 +155,8 @@ void SkGpuDevice::drawTexture(GrTexture* tex, const SkRect& dst, const SkPaint&
|
| GrPaint grPaint;
|
| SkMatrix mat;
|
| mat.reset();
|
| - if (!SkPaintToGrPaint(this->context(), paint, mat, &grPaint)) {
|
| + if (!SkPaintToGrPaint(this->context(), paint, mat,
|
| + this->surfaceProps().allowSRGBInputs(), &grPaint)) {
|
| return;
|
| }
|
| SkMatrix textureMat;
|
|
|