diff options
Diffstat (limited to 'gm/srcmode.cpp')
-rw-r--r-- | gm/srcmode.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gm/srcmode.cpp b/gm/srcmode.cpp index e43933ce11..21cf9797f5 100644 --- a/gm/srcmode.cpp +++ b/gm/srcmode.cpp @@ -116,11 +116,9 @@ protected: SkImageInfo info = SkImageInfo::MakeN32Premul(size); bool callNewSurface = true; -#if SK_SUPPORT_GPU if (canvas->getGrContext() && skipGPU) { callNewSurface = false; } -#endif sk_sp<SkSurface> surface = callNewSurface ? canvas->makeSurface(info) : nullptr; if (nullptr == surface) { // picture canvas will return null, so fall-back to raster |