From 09c28dcbf48811b9c6447ccb77f655893b7101bf 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 --- hipamd/rocclr/cl_gl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hipamd/rocclr/cl_gl.cpp b/hipamd/rocclr/cl_gl.cpp index b0403eb488..6a32525da2 100644 --- a/hipamd/rocclr/cl_gl.cpp +++ b/hipamd/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; } }