Index: bench/nanobench.cpp |
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp |
index 12686e3a8476f53123ebaff725f35a3dc5ba0c7d..e2fcaaae91e5dbeaed0b31d665e578cc53748f09 100644 |
--- a/bench/nanobench.cpp |
+++ b/bench/nanobench.cpp |
@@ -388,7 +388,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); |
} |