Index: bench/nanobench.cpp |
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp |
index 042332cf1b90cc07d117a6791fcc026a4b606eea..518383b0e01f2d6216b090dab3c6eaae6ad0eaf7 100644 |
--- a/bench/nanobench.cpp |
+++ b/bench/nanobench.cpp |
@@ -407,6 +407,10 @@ static void create_config(const SkCommandLineConfig* config, SkTArray<Config>* c |
ctxOptions = static_cast<GrContextFactory::ContextOptions>( |
ctxOptions | GrContextFactory::kEnableNVPR_ContextOptions); |
} |
+ if (gpuConfig->getUseInstanced()) { |
+ ctxOptions = static_cast<GrContextFactory::ContextOptions>( |
+ ctxOptions | GrContextFactory::kUseInstanced_ContextOptions); |
+ } |
if (SkColorAndColorSpaceAreGammaCorrect(gpuConfig->getColorType(), |
gpuConfig->getColorSpace())) { |
ctxOptions = static_cast<GrContextFactory::ContextOptions>( |