Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Unified Diff: src/core/SkShadowShader.h

Issue 2287553002: Moved ambient lights out of SkLight's light array (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: made req changes Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/core/SkShadowShader.h
diff --git a/src/core/SkShadowShader.h b/src/core/SkShadowShader.h
index 3263950a93910691b6fd985256a7d0b81d8107f0..1111445b4f74feb867d010c6506f51d67f037142 100644
--- a/src/core/SkShadowShader.h
+++ b/src/core/SkShadowShader.h
@@ -28,7 +28,7 @@ public:
// The shadow shader supports any number of ambient lights, but only
// 4 non-ambient lights (currently just refers to directional lights).
robertphillips 2016/08/26 17:31:29 I think the old version was more descriptive
- static constexpr int kMaxNonAmbientLights = 4;
+ static constexpr int kMaxLights = 4;
SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP()
};

Powered by Google App Engine
This is Rietveld 408576698