diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2016-07-12 09:47:23 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2016-07-12 09:00:32 +0000 |
commit | 605a5dc088385ad21c33028d8107125c0316ddb1 (patch) | |
tree | fbe9521e51815724eee07ee6d5f66c2e55ee1a95 /desktop | |
parent | 2e6608de95d0d845b6a2eccfaba7baebc992e7c8 (diff) |
opencl: bail out early in missing OpenCL case.
Change-Id: I2ff1466ec89f4ad9743cedbfa5dd52be8bf86590
Reviewed-on: https://gerrit.libreoffice.org/27136
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/opencl.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/source/app/opencl.cxx b/desktop/source/app/opencl.cxx index 4c47767b8621..09f2204e07ca 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. |