[Libreoffice-commits] core.git: sc/source
Kohei Yoshida
kohei.yoshida at collabora.com
Wed Oct 30 19:02:03 CET 2013
sc/source/core/opencl/openclwrapper.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6461b9c9d28f1f46b6338c768c51a4eeb366ebab
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date: Wed Oct 30 14:02:12 2013 -0400
Return false when no OpenCL device is detected.
Change-Id: Ib4e3e432cb69c17cf1830bfd540d4f5335056879
diff --git a/sc/source/core/opencl/openclwrapper.cxx b/sc/source/core/opencl/openclwrapper.cxx
index b629e53..046297f 100644
--- a/sc/source/core/opencl/openclwrapper.cxx
+++ b/sc/source/core/opencl/openclwrapper.cxx
@@ -2766,7 +2766,7 @@ bool switchOpenclDevice(const OUString* pDevice, bool bAutoSelect)
{
// we don't need to change anything
// still the same device
- return true;
+ return pDeviceId != NULL;
}
cl_platform_id platformId;
More information about the Libreoffice-commits
mailing list