adding a note
This commit is contained in:
parent
245705438d
commit
e110628b42
2
src/external/rlsw.h
vendored
2
src/external/rlsw.h
vendored
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user