aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ScalarTest.cpp
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-05-15 14:32:42 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-05-15 14:32:42 +0000
commit415e76a76091d06a3eeb4087c378bfa76947bc58 (patch)
treeb920f8b9dbd9d27b4e27526900772b836326ec76 /tests/ScalarTest.cpp
parent30d90ebe7c05b7067f5c67bd8278371c2a355b02 (diff)
fix Fixed build
git-svn-id: http://skia.googlecode.com/svn/trunk@3937 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/ScalarTest.cpp')
-rw-r--r--tests/ScalarTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ScalarTest.cpp b/tests/ScalarTest.cpp
index 524d775549..c56641d7ba 100644
--- a/tests/ScalarTest.cpp
+++ b/tests/ScalarTest.cpp
@@ -21,6 +21,7 @@ struct PointSet {
};
static void test_isRectFinite(skiatest::Reporter* reporter) {
+#ifdef SK_SCALAR_IS_FLOAT
static const SkPoint gF0[] = {
{ 0, 0 }, { 1, 1 }
};
@@ -61,6 +62,7 @@ static void test_isRectFinite(skiatest::Reporter* reporter) {
bool rectIsFinite = !r.isEmpty();
REPORTER_ASSERT(reporter, gSets[i].fIsFinite == rectIsFinite);
}
+#endif
}
static bool isFinite_int(float x) {