Index: gm/lightingshaderbevel.cpp |
diff --git a/gm/lightingshaderbevel.cpp b/gm/lightingshaderbevel.cpp |
index 4e95c8ecc2ce424d2cc03f8c109b90aa5919143b..9107cc6c949e65b52f705cf41e6e1b909bc9dfea 100644 |
--- a/gm/lightingshaderbevel.cpp |
+++ b/gm/lightingshaderbevel.cpp |
@@ -38,7 +38,7 @@ |
builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, 1.0f), |
kLightFromUpperRight)); |
- builder.setAmbientLightColor(SkColor3f::Make(0.2f, 0.2f, 0.2f)); |
+ builder.add(SkLights::Light::MakeAmbient(SkColor3f::Make(0.2f, 0.2f, 0.2f))); |
fLights = builder.finish(); |
// fRect is assumed to be square throughout this file |