Fixed issue with Fixed Point scalars in ReadWriteAlphaTest.cpp
authorrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 6 Apr 2012 18:25:24 +0000 (18:25 +0000)
committerrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 6 Apr 2012 18:25:24 +0000 (18:25 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@3623 2bbb7eff-a529-9590-31e7-b0007b416f81

tests/ReadWriteAlphaTest.cpp

index 2d6da96..4b3f671 100644 (file)
@@ -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);