Index: tests/ImageFilterTest.cpp |
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp |
index 5a411077344221184d4bee3bf6b991aefdc9777f..2f046b94d05273446e70cc98d23e5c486d666f20 100644 |
--- a/tests/ImageFilterTest.cpp |
+++ b/tests/ImageFilterTest.cpp |
@@ -230,8 +230,10 @@ DEF_TEST(ImageFilterCropRect, reporter) { |
test_crop_rects(&device, reporter); |
} |
+#if SK_SUPPORT_GPU |
DEF_GPUTEST(ImageFilterCropRectGPU, reporter, factory) { |
GrContext* context = factory->get(static_cast<GrContextFactory::GLContextType>(0)); |
SkGpuDevice device(context, SkBitmap::kARGB_8888_Config, 100, 100); |
test_crop_rects(&device, reporter); |
} |
+#endif |