From 33d019a80019e3424e17d3e39da1eb26e15d74fd Mon Sep 17 00:00:00 2001 From: Vladislav Sytchenko Date: Tue, 26 Jan 2021 15:51:57 -0500 Subject: [PATCH] SWDEV-1 - Fix Windows build Change-Id: I144142b2b31785fe7b1d319fb7e88eb2b41099ac --- rocclr/cl_gl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rocclr/cl_gl.cpp b/rocclr/cl_gl.cpp index b0403eb488..6a32525da2 100644 --- a/rocclr/cl_gl.cpp +++ b/rocclr/cl_gl.cpp @@ -1352,7 +1352,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; } } @@ -1378,7 +1378,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; } }