Skip to content

Commit

Permalink
Merge pull request #1312 from qbojj/patch-1
Browse files Browse the repository at this point in the history
fix levels() calculation for scalars #1312
  • Loading branch information
Groovounet authored Jan 4, 2025
2 parents 3c18b0f + 23551ae commit 5b295d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glm/gtx/texture.inl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace glm
template <typename T>
inline T levels(T Extent)
{
return vec<1, T, defaultp>(Extent).x;
return levels(vec<1, T, defaultp>(Extent));
}
}//namespace glm

0 comments on commit 5b295d8

Please sign in to comment.