From 2ffe7aa854f1b92c188753c27698c4f25cb42a20 Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 14 Jan 2024 22:13:30 +0100 Subject: [PATCH] use hwr_drawpatch to fix compiler warning and casting wrong things --- src/hardware/hw_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index a0999bfd1..be4a6ca0d 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -6187,7 +6187,7 @@ void HWR_RenderFrame(INT32 viewnumber, player_t *player, boolean skybox) for (x = vid.width>>1; x < vid.width; x += pw) { for (y = vid.height>>1; y < vid.height; y += ph) - V_DrawScaledPatch(x, y, V_NOSCALESTART, gpatch); + HWR_DrawStretchyFixedPatch(gpatch, (x)<