aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkLights.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-06-03 10:12:08 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-06-03 10:12:08 -0700
commitadf5afa628adb62a0ad451d07ef1442381a0ee20 (patch)
treec1d9f39b45e0e98cc335b61fb58ec9e3322f5c1f /include/core/SkLights.h
parent5823846397066377b65e011a42becd2d665110ad (diff)
Add SampleApp slide with animating lightmapped objects & transparency
This is pulled out of the drawLitAtlas CL (may it someday land). It does nicely demonstrate animating normal mapped objects and normal maps combined with partially transparent diffuse textures. It is a crude Asteroids game. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2026393005 TBR=reed@google.com Review-Url: https://codereview.chromium.org/2026393005
Diffstat (limited to 'include/core/SkLights.h')
-rw-r--r--include/core/SkLights.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkLights.h b/include/core/SkLights.h
index 0a4fb8153e..c5c54276a3 100644
--- a/include/core/SkLights.h
+++ b/include/core/SkLights.h
@@ -61,7 +61,7 @@ public:
}
}
- const sk_sp<SkLights> finish() {
+ sk_sp<SkLights> finish() {
return fLights;
}