desktop/source/app/opencl.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 605a5dc088385ad21c33028d8107125c0316ddb1 Author: Michael Meeks <michael.me...@collabora.com> 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 <qui...@gmail.com> Tested-by: Tomaž Vajngerl <qui...@gmail.com> 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 libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits