From 1c4908ceb73b4f1e3969dd00f148105836e8a213 Mon Sep 17 00:00:00 2001 From: TrofimMax Date: Thu, 8 Aug 2019 17:58:55 +0300 Subject: [PATCH] edit --- hydra_drv/GPUOCLLayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydra_drv/GPUOCLLayer.cpp b/hydra_drv/GPUOCLLayer.cpp index b204c35..a3108a2 100644 --- a/hydra_drv/GPUOCLLayer.cpp +++ b/hydra_drv/GPUOCLLayer.cpp @@ -539,7 +539,7 @@ GPUOCLLayer::GPUOCLLayer(int w, int h, int a_flags, int a_deviceId) : Base(w, h, m_clglSharing = 0; int clglIsSupported = clglSharingIsSupported(m_globals.device); - cl_int ciErr1; + cl_int ciErr1 = CL_SUCCESS; if ((a_flags & GPU_RT_NOWINDOW) || (clglIsSupported == 0)) {