From fefc65b7db5468ef29f0ca1d1e42a4b62c255b64 Mon Sep 17 00:00:00 2001 From: progrematic <20295773+progrematic@users.noreply.github.com> Date: Wed, 1 Sep 2021 14:18:08 -0700 Subject: [PATCH] [LMAE-23] - Materials - Fixing Linux Build Break --- hippo/include/hippo/graphics/material.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hippo/include/hippo/graphics/material.h b/hippo/include/hippo/graphics/material.h index 0389aac..2cfb1ed 100644 --- a/hippo/include/hippo/graphics/material.h +++ b/hippo/include/hippo/graphics/material.h @@ -45,7 +45,7 @@ namespace hippo::graphics else if constexpr (std::is_same()) { GETUNIFORMVALUE(mUniformMat4s, glm::mat4(1.f)) } else { - static_assert(false, "Unsupported data type in Material::GetUniformValue()"); + static_assert(std::is_same(), "Unsupported data type in Material::GetUniformValue()"); } } #undef GETUNIFORMVALUE @@ -62,7 +62,7 @@ namespace hippo::graphics else if constexpr (std::is_same()) { mUniformMat4s[name] = val; } else { - static_assert(false, "Unsupported data type in Material::SetUniformValue()"); + static_assert(std::is_same(), "Unsupported data type in Material::SetUniformValue()"); } }