desktop/source/app/opencl.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 605a5dc088385ad21c33028d8107125c0316ddb1
Author: Michael Meeks <[email protected]>
Date: Tue Jul 12 09:47:23 2016 +0100
opencl: bail out early in missing OpenCL case.
Change-Id: I2ff1466ec89f4ad9743cedbfa5dd52be8bf86590
Reviewed-on: https://gerrit.libreoffice.org/27136
Reviewed-by: Tomaž Vajngerl <[email protected]>
Tested-by: Tomaž Vajngerl <[email protected]>
diff --git a/desktop/source/app/opencl.cxx b/desktop/source/app/opencl.cxx
index 4c47767..09f2204 100644
--- a/desktop/source/app/opencl.cxx
+++ b/desktop/source/app/opencl.cxx
@@ -122,6 +122,7 @@ void Desktop::CheckOpenCLCompute(const Reference< XDesktop2
> &xDesktop)
{
SAL_WARN("opencl", "Failed to initialize OpenCL for test");
OpenCLZone::hardDisable();
+ return;
}
// Append our app version as well.
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits