From c7a219157092d1dab6ed7522e686f7bc40044008 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 27 Mar 2011 11:24:39 +0000 Subject: [PATCH] - client: Win OpenCL fix from [P3D] Crashtest svn path=/trunk/boinc/; revision=23284 --- checkin_notes | 6 ++++++ client/coproc_detect.cpp | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/checkin_notes b/checkin_notes index cff77e3ecb..8a3f2a0cca 100644 --- a/checkin_notes +++ b/checkin_notes @@ -1886,3 +1886,9 @@ David 25 Mar 2011 Makefile.mingw api/ Makefile.mingw + +David 27 Mar 2011 + - client: Win OpenCL fix from [P3D] Crashtest + + client/ + coproc_detect.cpp diff --git a/client/coproc_detect.cpp b/client/coproc_detect.cpp index 616ddc55d4..2773d4eee8 100644 --- a/client/coproc_detect.cpp +++ b/client/coproc_detect.cpp @@ -137,8 +137,7 @@ void COPROCS::get_opencl(vector&warnings) { OPENCL_DEVICE_PROP prop; #ifdef _WIN32 -// TODO: Is this correct? - opencl_lib = LoadLibrary("libOpenCL.dll"); + opencl_lib = LoadLibrary("OpenCL.dll"); if (!opencl_lib) { warnings.push_back("No OpenCL library found"); return; @@ -1310,4 +1309,4 @@ bool COPROC_ATI::matches(OPENCL_DEVICE_PROP& OpenCLprop) { if (attribs.engineClock != OpenCLprop.max_clock_freq) return false; return true; -} \ No newline at end of file +}