aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/colormatrix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/colormatrix.cpp')
-rw-r--r--gm/colormatrix.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/gm/colormatrix.cpp b/gm/colormatrix.cpp
index 0a4acfd84f..7d57b3278b 100644
--- a/gm/colormatrix.cpp
+++ b/gm/colormatrix.cpp
@@ -90,19 +90,6 @@ protected:
matrix.setYUV2RGB();
filter->setMatrix(matrix);
canvas->drawBitmap(fBitmap, 80, 160, &paint);
-
- SkScalar s1 = SK_Scalar1;
- SkScalar s255 = SkIntToScalar(255);
- // Move red into alpha, set color to white
- SkScalar data[20] = {
- 0, 0, 0, 0, s255,
- 0, 0, 0, 0, s255,
- 0, 0, 0, 0, s255,
- s1, 0, 0, 0, 0,
- };
-
- filter->setArray(data);
- canvas->drawBitmap(fBitmap, 160, 160, &paint);
}
private: