use hwr_drawpatch to fix compiler warning and casting wrong things

This commit is contained in:
Alug committed 2024-01-14 22:13:30 +01:00
1 parent d0761d0044
commit 2ffe7aa854
1 file changed
+1 -1
+1 -1
View File
@@ -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)<<FRACBITS, (y)<<FRACBITS, FRACUNIT, FRACUNIT, V_NOSCALESTART, NULL);
}
}