Index: tools/gpu/GrTest.cpp |
diff --git a/tools/gpu/GrTest.cpp b/tools/gpu/GrTest.cpp |
index 21761c214f45ef53f94fd5dcde7d4d70fe3674c7..f7c1f0c5044cc58881656959c3122c9e15316036 100644 |
--- a/tools/gpu/GrTest.cpp |
+++ b/tools/gpu/GrTest.cpp |
@@ -140,7 +140,8 @@ void SkGpuDevice::drawTexture(GrTexture* tex, const SkRect& dst, const SkPaint& |
SkMatrix mat; |
mat.reset(); |
if (!SkPaintToGrPaint(this->context(), paint, mat, |
- this->surfaceProps().isGammaCorrect(), &grPaint)) { |
+ this->surfaceProps().isGammaCorrect(), fDrawContext->getColorSpace(), |
+ &grPaint)) { |
return; |
} |
SkMatrix textureMat; |