Just stretch the fallback card to the screen resolution

This commit is contained in:
James R 2020-06-25 13:08:00 -07:00
parent 864e703355
commit 78e6bcc8ff

View file

@ -359,12 +359,11 @@ void Y_IntermissionDrawer(void)
else if (rendermode != render_soft && usebuffer) else if (rendermode != render_soft && usebuffer)
HWR_DrawIntermissionBG(); HWR_DrawIntermissionBG();
#endif #endif
else else if (bgpatch)
{ {
if (widebgpatch && rendermode == render_soft && vid.width / vid.dupx == 400) fixed_t hs = vid.width * FRACUNIT / BASEVIDWIDTH;
V_DrawScaledPatch(0, 0, V_SNAPTOLEFT, widebgpatch); fixed_t vs = vid.height * FRACUNIT / BASEVIDHEIGHT;
else if (bgpatch) V_DrawStretchyFixedPatch(0, 0, hs, vs, V_NOSCALEPATCH, bgpatch, NULL);
V_DrawScaledPatch(0, 0, 0, bgpatch);
} }
} }
else if (bgtile) else if (bgtile)