Index: bench/nanobench.cpp |
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp |
index 36a9177e576e38e2a47ba702e42644b86f6f6213..23c5007e3300d96af34b258f56bd2d1a0a9aa71c 100644 |
--- a/bench/nanobench.cpp |
+++ b/bench/nanobench.cpp |
@@ -395,7 +395,8 @@ static Target* is_enabled(Benchmark* bench, const Config& config) { |
else if (Benchmark::kGPU_Backend == config.backend) { |
uint32_t flags = config.useDFText ? SkSurfaceProps::kUseDistanceFieldFonts_Flag : 0; |
SkSurfaceProps props(flags, SkSurfaceProps::kLegacyFontHost_InitType); |
- target->surface.reset(SkSurface::NewRenderTarget(gGrFactory->get(config.ctxType), info, |
+ target->surface.reset(SkSurface::NewRenderTarget(gGrFactory->get(config.ctxType), |
+ SkSurface::kNo_Budgeted, info, |
config.samples, &props)); |
target->gl = gGrFactory->getGLContext(config.ctxType); |
} |