diff --git a/glm/gtc/bitfield.inl b/glm/gtc/bitfield.inl index 2a5c3d79..e5ce417e 100644 --- a/glm/gtc/bitfield.inl +++ b/glm/gtc/bitfield.inl @@ -587,9 +587,9 @@ namespace detail return detail::bitfieldInterleave(x, y, z, w); } - GLM_FUNC_QUALIFIER uint64 bitfieldInterleave(u8vec4 const& v) + GLM_FUNC_QUALIFIER uint32 bitfieldInterleave(u8vec4 const& v) { - return detail::bitfieldInterleave(v.x, v.y, v.z, v.w); + return detail::bitfieldInterleave(v.x, v.y, v.z, v.w); } GLM_FUNC_QUALIFIER int64 bitfieldInterleave(int16 x, int16 y, int16 z, int16 w)