Index: samplecode/SampleLitAtlas.cpp |
diff --git a/samplecode/SampleLitAtlas.cpp b/samplecode/SampleLitAtlas.cpp |
index cb49bf38723721495746bc65e2f0d08ea3e93429..149da98a021fcfcbcc67b171fc52d1c09b7ee631 100644 |
--- a/samplecode/SampleLitAtlas.cpp |
+++ b/samplecode/SampleLitAtlas.cpp |
@@ -184,7 +184,7 @@ private: |
builder.add(SkLights::Light::MakeDirectional( |
SkColor3f::Make(1.0f, 1.0f, 1.0f), fLightDir)); |
- builder.add(SkLights::Light::MakeAmbient(SkColor3f::Make(0.2f, 0.2f, 0.2f))); |
+ builder.setAmbientLightColor(SkColor3f::Make(0.2f, 0.2f, 0.2f)); |
fLights = builder.finish(); |
} |