From 06f543eb06ef40facf48ecd509177d6cca831ee2 Mon Sep 17 00:00:00 2001 From: simonleeli Date: Tue, 9 Jul 2024 21:36:25 +0800 Subject: [PATCH] fix build error for SIMD = None --- Source/astcenc_vecmathlib_none_4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/astcenc_vecmathlib_none_4.h b/Source/astcenc_vecmathlib_none_4.h index be7348ef..b14c14a8 100644 --- a/Source/astcenc_vecmathlib_none_4.h +++ b/Source/astcenc_vecmathlib_none_4.h @@ -354,7 +354,7 @@ struct vmask4 /** * @brief Get the scalar value of a single lane. */ - template ASTCENC_SIMD_INLINE float lane() const + template ASTCENC_SIMD_INLINE bool lane() const { return m[l] != 0; }