aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
Diffstat (limited to 'bench')
-rwxr-xr-xbench/ShadowBench.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/bench/ShadowBench.cpp b/bench/ShadowBench.cpp
index f329664fb2..e454abd3a4 100755
--- a/bench/ShadowBench.cpp
+++ b/bench/ShadowBench.cpp
@@ -65,9 +65,8 @@ protected:
fRec.fZPlaneParams = SkPoint3::Make(0, 0, kElevation);
fRec.fLightPos = SkPoint3::Make(270, 0, 600);
fRec.fLightRadius = 800;
- fRec.fAmbientAlpha = 0.1f;
- fRec.fSpotAlpha = 0.25f;
- fRec.fColor = SK_ColorBLACK;
+ fRec.fAmbientColor = 0x19000000;
+ fRec.fSpotColor = 0x40000000;
fRec.fFlags = 0;
if (fTransparent) {
fRec.fFlags |= SkShadowFlags::kTransparentOccluder_ShadowFlag;