Skip to content

Commit

Permalink
fix levels() calculation for scalars
Browse files Browse the repository at this point in the history
  • Loading branch information
qbojj authored Sep 9, 2024
1 parent 33b4a62 commit 23551ae
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 23551ae

Please sign in to comment.