diff --git a/glm/gtc/matrix_access.inl b/glm/gtc/matrix_access.inl index dd307a01..176136ab 100644 --- a/glm/gtc/matrix_access.inl +++ b/glm/gtc/matrix_access.inl @@ -28,7 +28,7 @@ namespace glm { assert(index >= 0 && index < m[0].length()); - typename genType::row_type Result; + typename genType::row_type Result(0); for(length_t i = 0; i < m.length(); ++i) Result[i] = m[i][index]; return Result;