[Libreoffice-commits] core.git: desktop/source

Michael Meeks michael.meeks at collabora.com
Tue Jul 12 09:00:53 UTC 2016


 desktop/source/app/opencl.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 605a5dc088385ad21c33028d8107125c0316ddb1
Author: Michael Meeks <michael.meeks at 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 <quikee at gmail.com>
    Tested-by: Tomaž Vajngerl <quikee at 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.


More information about the Libreoffice-commits mailing list