Index: samplecode/SampleBevel.cpp |
diff --git a/samplecode/SampleBevel.cpp b/samplecode/SampleBevel.cpp |
index e592cf191aa38e11e9cf0f0aa559bb8685475a96..cbeb2499a5fa1183464bd00cde5ae37764fbff75 100644 |
--- a/samplecode/SampleBevel.cpp |
+++ b/samplecode/SampleBevel.cpp |
@@ -749,7 +749,7 @@ protected: |
fLightDefs[i].fDirXY.fY, |
fLightDefs[i].fDirZ))); |
} |
- builder.add(SkLights::Light::MakeAmbient(SkColor3f::Make(0.4f, 0.4f, 0.4f))); |
+ builder.setAmbientLightColor(SkColor3f::Make(0.4f, 0.4f, 0.4f)); |
fLights = builder.finish(); |
// Draw shapes |