adding a note

This commit is contained in:
Bigfoot71 2025-10-29 15:37:28 +01:00
parent 245705438d
commit e110628b42

2
src/external/rlsw.h vendored
View File

@ -1346,7 +1346,7 @@ static inline void sw_framebuffer_write_color(sw_pixel_t *dst, const float src[4
static inline void sw_framebuffer_write_depth(sw_pixel_t *dst, float depth) static inline void sw_framebuffer_write_depth(sw_pixel_t *dst, float depth)
{ {
depth = sw_saturate(depth); depth = sw_saturate(depth); // REVIEW: An overflow can occur in certain circumstances with clipping, and needs to be reviewed...
#if SW_DEPTH_IS_PACKED #if SW_DEPTH_IS_PACKED
dst->depth[0] = SW_PACK_DEPTH(depth); dst->depth[0] = SW_PACK_DEPTH(depth);