Skip to content

Commit 7b8cb61

Browse files
committed
bad typo
1 parent aad8bb1 commit 7b8cb61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/nbl/builtin/hlsl/cpp_compat/impl/intrinsics_impl.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ struct nClamp_helper<T>
598598
using return_t = T;
599599
static inline return_t __call(const T x, const T _min, const T _max)
600600
{
601-
return nMin_helper<T>::_call(nMin_helper<T>::_call(x, _min), _max);
601+
return nMin_helper<T>::_call(nMax_helper<T>::_call(x, _min), _max);
602602
}
603603
};
604604

0 commit comments

Comments
 (0)