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

Unified Diff: gm/dcshader.cpp

Issue 864713002: remove dead SkPersp macros (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | gm/filltypespersp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/dcshader.cpp
diff --git a/gm/dcshader.cpp b/gm/dcshader.cpp
index 9e9a2c27ad15a65e781fea307c6647b1eb560292..66b0c76b3a051c718c4fddd832e1b1c8c15d9627 100644
--- a/gm/dcshader.cpp
+++ b/gm/dcshader.cpp
@@ -249,8 +249,8 @@ protected:
devMats.push_back().reset();
devMats.push_back().setRotate(45, 500, 500);
devMats.push_back().setRotate(-30, 200, 200);
- devMats.back().setPerspX(-SkScalarToPersp(SK_Scalar1 / 2000));
- devMats.back().setPerspY(SkScalarToPersp(SK_Scalar1 / 1000));
+ devMats.back().setPerspX(-SK_Scalar1 / 2000);
+ devMats.back().setPerspY(SK_Scalar1 / 1000);
SkTArray<SkMatrix> viewMats;
« no previous file with comments | « no previous file | gm/filltypespersp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698