Index: sky/examples/raw/shadow.dart |
diff --git a/sky/examples/raw/shadow.dart b/sky/examples/raw/shadow.dart |
index a83602e88d4dc0fbbd7634f656a7c042805f135b..0b61437fffa862b20a8bb358107d712a0e046cb5 100644 |
--- a/sky/examples/raw/shadow.dart |
+++ b/sky/examples/raw/shadow.dart |
@@ -14,7 +14,9 @@ void beginFrame(double timeStamp) { |
var builder = new LayerDrawLooperBuilder() |
// Shadow layer. |
..addLayerOnTop( |
- new DrawLooperLayerInfo()..setOffset(5.0, 5.0)..setColorMode(5), |
+ new DrawLooperLayerInfo() |
+ ..setOffset(const Point(5.0, 5.0)) |
+ ..setColorMode(TransferMode.srcInMode), |
(Paint layerPaint) { |
layerPaint.setARGB(128, 55, 55, 55); |
// TODO(mpcomplete): add blur filter |