Index: gm/lightingshader.cpp |
diff --git a/gm/lightingshader.cpp b/gm/lightingshader.cpp |
index 4a79ebea1d9bbd6f72f5ad23eec0d5560c691395..137fd64a26caf68cd3176e8b52fc531e48a32863 100644 |
--- a/gm/lightingshader.cpp |
+++ b/gm/lightingshader.cpp |
@@ -52,7 +52,7 @@ public: |
SkVector3::Make(SK_ScalarRoot2Over2, |
0.0f, |
SK_ScalarRoot2Over2))); |
- 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(); |
} |