Chromium Code Reviews| Index: bench/benchmain.cpp |
| diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp |
| index 9cb7468be0741f9ddb59ed14f6d49bd959b3059f..5bca4d6158a10c3a55825c573618f0b73d352a15 100644 |
| --- a/bench/benchmain.cpp |
| +++ b/bench/benchmain.cpp |
| @@ -256,7 +256,7 @@ static const struct { |
| { SkBitmap::kARGB_8888_Config, "ANGLE", 0, kGPU_Backend, GrContextFactory::kANGLE_GLContextType, true }, |
| #endif // SK_ANGLE |
| #ifdef SK_DEBUG |
| - { SkBitmap::kARGB_8888_Config, "Debug", 0, kGPU_Backend, GrContextFactory::kDebug_GLContextType, GR_DEBUG }, |
| + { SkBitmap::kARGB_8888_Config, "Debug", 0, kGPU_Backend, GrContextFactory::kDebug_GLContextType, SK_DEBUG }, |
|
bsalomon
2013/08/23 12:54:23
Does this work? GR_DEBUG was always 0 or 1, but SK
tfarina
2013/08/23 23:26:17
just learned something new today :)
#if vs #ifdef
|
| #endif // SK_DEBUG |
| { SkBitmap::kARGB_8888_Config, "NULLGPU", 0, kGPU_Backend, GrContextFactory::kNull_GLContextType, true }, |
| #endif // SK_SUPPORT_GPU |