aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ReadWriteAlphaTest.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-06 18:25:24 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-06 18:25:24 +0000
commit38c3a30a97f807c8516aa41be29884b7a601aa4a (patch)
tree6fbcd9d4e61a6adbec4b85cec4a75db91d314bfc /tests/ReadWriteAlphaTest.cpp
parent6995068c5ade6e179d2af82caddb0c1cd6f433b6 (diff)
Fixed issue with Fixed Point scalars in ReadWriteAlphaTest.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@3623 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/ReadWriteAlphaTest.cpp')
-rw-r--r--tests/ReadWriteAlphaTest.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ReadWriteAlphaTest.cpp b/tests/ReadWriteAlphaTest.cpp
index 2d6da96d79..4b3f671bcd 100644
--- a/tests/ReadWriteAlphaTest.cpp
+++ b/tests/ReadWriteAlphaTest.cpp
@@ -14,6 +14,11 @@ static const int Y_SIZE = 12;
void ReadWriteAlphaTest(skiatest::Reporter* reporter, GrContext* context) {
+#if SK_SCALAR_IS_FIXED
+ // GPU device known not to work in the fixed pt build.
+ return;
+#endif
+
unsigned char textureData[X_SIZE][Y_SIZE];
memset(textureData, 0, X_SIZE * Y_SIZE);