From b1aaff7dd6111749f85400f403d18c12a0f4f174 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Thu, 10 Oct 2013 16:11:20 -0400 Subject: [PATCH] client: Do not use child process GPU detection when debugging. --- client/gpu_detect.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/gpu_detect.cpp b/client/gpu_detect.cpp index 276bea7f2c..f6574849b2 100644 --- a/client/gpu_detect.cpp +++ b/client/gpu_detect.cpp @@ -18,7 +18,9 @@ // client-specific GPU code. Mostly GPU detection -//#define USE_CHILD_PROCESS_TO_DETECT_GPUS 1 +#ifdef _DEBUG +#define USE_CHILD_PROCESS_TO_DETECT_GPUS 1 +#endif #include "cpp.h"