Index: bench/benchmain.cpp |
=================================================================== |
--- bench/benchmain.cpp (revision 8029) |
+++ bench/benchmain.cpp (working copy) |
@@ -676,10 +676,10 @@ |
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) { |