diff options
Diffstat (limited to 'bench')
-rw-r--r-- | bench/benchmain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp index 459f34038a..b16cca30cd 100644 --- a/bench/benchmain.cpp +++ b/bench/benchmain.cpp @@ -676,10 +676,10 @@ int tool_main(int argc, char** argv) { configName = gConfigs[configIndex].fName; backend = gConfigs[configIndex].fBackend; GrContext* context = NULL; - SkGLContextHelper* glContext = NULL; BenchTimer* timer = timers[configIndex]; #if SK_SUPPORT_GPU + SkGLContextHelper* glContext = NULL; if (kGPU_Backend == backend) { context = gContextFactory.get(gConfigs[configIndex].fContextType); if (NULL == context) { |