dont need this anymore

This commit is contained in:
Alug committed 2025-04-20 23:01:29 +02:00
1 parent 5ba6021010
commit f838ff528e
2 files changed
+3 -5

No files matched your search

-2
View File
@@ -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;
+3 -3
View File
@@ -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)<<FRACBITS, (y)<<FRACBITS, FRACUNIT, FRACUNIT, V_NOSCALESTART, NULL, 0);
}
}