diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-11-09 21:39:48 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-11-09 21:39:48 +0000 |
commit | 1ea95be560b38a71e3f24749c4e5e3d3564e4c6c (patch) | |
tree | 48d6395bca4b68d4b471c6cd24d7037f4cf9d0b7 /tests/Matrix44Test.cpp | |
parent | 20d44677a1940c17ae9c64420b013d76bf895dd5 (diff) |
add explicit mapScalars and mapMScalars entry-points, instead of just map()
git-svn-id: http://skia.googlecode.com/svn/trunk@6373 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/Matrix44Test.cpp')
-rw-r--r-- | tests/Matrix44Test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Matrix44Test.cpp b/tests/Matrix44Test.cpp index 6e70c5f42c..906535872f 100644 --- a/tests/Matrix44Test.cpp +++ b/tests/Matrix44Test.cpp @@ -95,7 +95,7 @@ static void test_concat(skiatest::Reporter* reporter) { d.preConcat(b); REPORTER_ASSERT(reporter, d == c); - c.map(src, dst); c.map(src + 4, dst + 4); + c.mapScalars(src, dst); c.mapScalars(src + 4, dst + 4); for (i = 0; i < 3; ++i) { REPORTER_ASSERT(reporter, 10 == dst[i]); REPORTER_ASSERT(reporter, 12 == dst[i + 4]); @@ -107,7 +107,7 @@ static void test_concat(skiatest::Reporter* reporter) { d.postConcat(b); REPORTER_ASSERT(reporter, d == c); - c.map(src, dst); c.map(src + 4, dst + 4); + c.mapScalars(src, dst); c.mapScalars(src + 4, dst + 4); for (i = 0; i < 3; ++i) { REPORTER_ASSERT(reporter, 20 == dst[i]); REPORTER_ASSERT(reporter, 22 == dst[i + 4]); |