sc/source/core/opencl/opencl_device.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5556b1ffaf81543af680c1f68b79f36d7ad1785e Author: Jagan Lokanatha <jagan.lokana...@amd.com> Date: Thu Nov 21 15:14:14 2013 -0500 Ensure that when ds_profile is NULL, NATIVE_CPU is selected. Change-Id: Iab714a296ce0f807b5badd1ff96a99f3da2b24f8 diff --git a/sc/source/core/opencl/opencl_device.cxx b/sc/source/core/opencl/opencl_device.cxx index 3eb415b..8f9f8ff 100644 --- a/sc/source/core/opencl/opencl_device.cxx +++ b/sc/source/core/opencl/opencl_device.cxx @@ -447,7 +447,7 @@ ds_device getDeviceSelection(const char* sProfilePath, bool bForceSelection) if (!profile) { // failed to initialize profile. - selectedDevice.oclDeviceID = NULL; + selectedDevice.type = DS_DEVICE_NATIVE_CPU; return selectedDevice; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits