Index: samplecode/SampleLitAtlas.cpp |
diff --git a/samplecode/SampleLitAtlas.cpp b/samplecode/SampleLitAtlas.cpp |
index f1882b789021743814b01375d2a4f638a80ae4a8..cb42d392e4da314cdc4c155bd1663e888da1e4d5 100644 |
--- a/samplecode/SampleLitAtlas.cpp |
+++ b/samplecode/SampleLitAtlas.cpp |
@@ -134,7 +134,7 @@ protected: |
SkShader::kClamp_TileMode, &normalMat, nullptr); |
sk_sp<SkNormalSource> normalSource = SkNormalSource::MakeFromNormalMap( |
std::move(normalMap), m); |
- sk_sp<SkShader> diffuseShader = SkBitmapProcShader::MakeBitmapShader(fAtlas, |
+ sk_sp<SkShader> diffuseShader = SkShader::MakeBitmapShader(fAtlas, |
SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, &diffMat); |
paint.setShader(SkLightingShader::Make(std::move(diffuseShader), |
std::move(normalSource), fLights)); |