diff options
author | vjiaoblack <vjiaoblack@google.com> | 2016-08-29 10:22:09 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-29 10:22:09 -0700 |
commit | a8eabc4a2a5559a1410fdbb348f967cd1554b325 (patch) | |
tree | 03d8a80ef4b2e62eaacbfee605b3ffc3162fa5c7 /tests | |
parent | 84839f6fb3d0de9088be3d53e81df195331ed1c9 (diff) |
Moved ambient lights out of SkLight's light array
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2287553002
Committed: https://skia.googlesource.com/skia/+/8f98f0aa2d3f7571a890b916c7c4b5ee831e9686
Review-Url: https://codereview.chromium.org/2287553002
Diffstat (limited to 'tests')
-rw-r--r-- | tests/SerializationTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SerializationTest.cpp b/tests/SerializationTest.cpp index 11a705f8ce..ff9b342074 100644 --- a/tests/SerializationTest.cpp +++ b/tests/SerializationTest.cpp @@ -558,7 +558,7 @@ DEF_TEST(Serialization, reporter) { builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, 1.0f), SkVector3::Make(1.0f, 0.0f, 0.0f))); - builder.add(SkLights::Light::MakeAmbient(SkColor3f::Make(0.2f, 0.2f, 0.2f))); + builder.setAmbientLightColor(SkColor3f::Make(0.2f, 0.2f, 0.2f)); sk_sp<SkLights> fLights = builder.finish(); |