diff --git a/src/hardware/hw_clip.c b/src/hardware/hw_clip.c index 7d0179dfc..0329ebc0e 100644 --- a/src/hardware/hw_clip.c +++ b/src/hardware/hw_clip.c @@ -314,8 +314,6 @@ void gld_clipper_Clear(void) cliphead = NULL; } -#define RMUL (1.6f/1.333333f) - angle_t gld_FrustumAngle(angle_t tiltangle) { double clipfov; diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index 9001b4c5c..b6fc25b4f 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -5557,11 +5557,11 @@ static void HWR_RenderFrame(player_t *player, boolean skybox) // V_DrawPatchFill, but for the fourth screen only patch_t *gpatch = W_CachePatchName("SRB2BACK", PU_PATCH); INT32 dupz = (vid.dupx < vid.dupy ? vid.dupx : vid.dupy); - INT32 x, y, pw = (gpatch->width) * dupz, ph = (gpatch->height) * dupz; + INT32 x, y, pw = (gpatch->width * dupz), ph = (gpatch->height * dupz); - for (x = vid.width>>1; x < vid.width; x += pw) + for (x = vid.width >> 1; x < vid.width; x += pw) { - for (y = vid.height>>1; y < vid.height; y += ph) + for (y = vid.height >> 1; y < vid.height; y += ph) HWR_DrawStretchyFixedPatch(gpatch, (x)<