From c826822a431e706ab395adf159e307be51b4ebde Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 3 Jun 2015 17:37:42 +1000 Subject: [PATCH] noise-tool: lower output resolution for debug debugging can be slow with all runtime checks enabled --- tools/noise.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/noise.cpp b/tools/noise.cpp index b984a592..621af9d4 100644 --- a/tools/noise.cpp +++ b/tools/noise.cpp @@ -23,7 +23,11 @@ int main (void) { // setup the output buffer +#if ENABLE_DEBUGGING + util::extent2u size {320, 240}; +#else util::extent2u size {1920, 1080}; +#endif util::image::buffer img (size); uint64_t seed = time (nullptr);