Index: samplecode/SampleLitAtlas.cpp |
diff --git a/samplecode/SampleLitAtlas.cpp b/samplecode/SampleLitAtlas.cpp |
index cb42d392e4da314cdc4c155bd1663e888da1e4d5..5f62e2abfb1cfedd236dc3c2dae5ca7e8c6d7223 100644 |
--- a/samplecode/SampleLitAtlas.cpp |
+++ b/samplecode/SampleLitAtlas.cpp |
@@ -130,8 +130,8 @@ protected: |
SkMatrix m; |
m.setRSXform(xforms[i]); |
- sk_sp<SkShader> normalMap = SkMakeBitmapShader(fAtlas, SkShader::kClamp_TileMode, |
- SkShader::kClamp_TileMode, &normalMat, nullptr); |
+ sk_sp<SkShader> normalMap = SkShader::MakeBitmapShader(fAtlas, SkShader::kClamp_TileMode, |
+ SkShader::kClamp_TileMode, &normalMat); |
sk_sp<SkNormalSource> normalSource = SkNormalSource::MakeFromNormalMap( |
std::move(normalMap), m); |
sk_sp<SkShader> diffuseShader = SkShader::MakeBitmapShader(fAtlas, |