From 07d30294e03e569faea8e935ffc765abe95a2fdd Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Tue, 13 Mar 2012 01:11:23 +0000 Subject: [PATCH] client: call some Mac coproc_detect debugging code only if coproc_debug flag is set svn path=/trunk/boinc/; revision=25411 --- client/coproc_detect.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/client/coproc_detect.cpp b/client/coproc_detect.cpp index d085e55fe6..c267c37776 100644 --- a/client/coproc_detect.cpp +++ b/client/coproc_detect.cpp @@ -1688,12 +1688,10 @@ void COPROCS::get_ati_mem_size_from_opengl() { if (strcmp((char *)CFDataGetBytePtr(modelName[j]), ati_opencls[ati_gpu_index].name) ) { - if (log_flags.coproc_debug) { - msg_printf(0, MSG_INFO, - "[coproc] get_ati_mem_size_from_opengl model name mismatch: %s vs %s\n", - ati_opencls[ati_gpu_index].name, (char *)CFDataGetBytePtr(modelName[j]) - ); - } + msg_printf(0, MSG_INFO, + "[coproc] get_ati_mem_size_from_opengl model name mismatch: %s vs %s\n", + ati_opencls[ati_gpu_index].name, (char *)CFDataGetBytePtr(modelName[j]) + ); } } else { // Could not get model name from IOKit, so use renderer name