convention tweaks

This commit is contained in:
Bigfoot71 2025-10-24 18:15:26 +02:00
parent 346954f263
commit b2139100df

3
src/external/rlsw.h vendored
View File

@ -1087,7 +1087,8 @@ static inline void sw_float_to_unorm8_simd(uint8_t dst[4], const float src[4])
*(uint32_t*)dst = _mm_cvtsi128_si32(clamped);
#else
for (int i = 0; i < 4; i++) {
for (int i = 0; i < 4; i++)
{
float val = src[i]*255.0f;
val = (val > 255.0f)? 255.0f : val;
val = (val < 0.0f)? 0.0f : val;