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