diff options
author | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-03 22:36:39 +0000 |
---|---|---|
committer | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-03 22:36:39 +0000 |
commit | 58d1466c7773984b7ce4bd75ebf7c97cd42f7d12 (patch) | |
tree | 27645e5e2234ebe9453be166f015b7d219e9a523 /tests | |
parent | aba651c3f1a1657bbe5367c873500e7c60539a3e (diff) |
Fix skia_gpu=0 build.
BUG=skia:
TBR=bsalomon@google.com
Review URL: https://codereview.chromium.org/132503006
git-svn-id: http://skia.googlecode.com/svn/trunk@13293 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ImageFilterTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp index 5a41107734..2f046b94d0 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 |