diff --git a/glm/gtc/matrix_transform.inl b/glm/gtc/matrix_transform.inl index dac55a4a..b9ff418b 100644 --- a/glm/gtc/matrix_transform.inl +++ b/glm/gtc/matrix_transform.inl @@ -168,7 +168,7 @@ namespace glm T bottom, T top ) { - tmat4x4 Result(1); + tmat4x4 Result(static_cast(1)); Result[0][0] = static_cast(2) / (right - left); Result[1][1] = static_cast(2) / (top - bottom); Result[2][2] = - static_cast(1);