From 1ea95be560b38a71e3f24749c4e5e3d3564e4c6c Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Fri, 9 Nov 2012 21:39:48 +0000 Subject: 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 --- tests/Matrix44Test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/Matrix44Test.cpp') 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]); -- cgit v1.2.3