OGL horizon lines
Merge request reports
Activity
Filter activity
added 1 commit
- 719f29d2 - Reduce near renderdist to lessen visible texture distortion
In file included from hardware/../p_pspr.h:22, from hardware/../d_player.h:21, from hardware/../doomstat.h:26, from hardware/hw_main.c:21: hardware/hw_main.c: In function ‘HWR_RenderPlane’: hardware/../m_fixed.h:41:29: error: cast from function call of type ‘fixed_t’ {aka ‘int’} to non-matching type ‘float’ [-Werror=bad-function-cast] 41 | #define FIXED_TO_FLOAT(x) (((float)(x)) / ((float)FRACUNIT)) | ^ hardware/hw_main.c:727:12: note: in expansion of macro ‘FIXED_TO_FLOAT’ 727 | dist = FIXED_TO_FLOAT(R_PointToDist(v.x, v.y)); | ^~~~~~~~~~~~~~
Need a second variable to store the
fixed_t
because this codebase SUCKS.mentioned in merge request !869 (merged)
mentioned in commit 0313213c
Please register or sign in to reply