From 70ac5c3bd82c69c8da48ed0d64d3f547c28f2ddb Mon Sep 17 00:00:00 2001 From: Vladislav Sytchenko Date: Tue, 26 Jan 2021 11:01:30 -0500 Subject: [PATCH] SWDEV-1 - Fix Windows build Change-Id: I3867b4a7175316121246a639fb8d704ad491adb6 --- opencl/amdocl/cl_gl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opencl/amdocl/cl_gl.cpp b/opencl/amdocl/cl_gl.cpp index b09e0d3b27..7d87809fa0 100644 --- a/opencl/amdocl/cl_gl.cpp +++ b/opencl/amdocl/cl_gl.cpp @@ -1353,7 +1353,7 @@ static GLenum clChannelDataTypeToGlType(cl_channel_type channel_type) { case CL_UNORM_SHORT_565: case CL_UNORM_SHORT_555: default: - guarantee(false && "Unexpected CL type."); + guarantee(false, "Unexpected CL type."); return 0; } } @@ -1379,7 +1379,7 @@ static GLenum glInternalFormatToGlFormat(GLenum internalFormat) { return GL_RGBA_INTEGER; default: - guarantee(false && "Unexpected GL internal format."); + guarantee(false, "Unexpected GL internal format."); return 0; } }