mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Just stretch the fallback card to the screen resolution
This commit is contained in:
parent
9e16f3b0dc
commit
45cafe35ab
1 changed files with 4 additions and 5 deletions
|
|
@ -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
|
|
||||||
{
|
|
||||||
if (widebgpatch && rendermode == render_soft && vid.width / vid.dupx == 400)
|
|
||||||
V_DrawScaledPatch(0, 0, V_SNAPTOLEFT, widebgpatch);
|
|
||||||
else if (bgpatch)
|
else if (bgpatch)
|
||||||
V_DrawScaledPatch(0, 0, 0, bgpatch);
|
{
|
||||||
|
fixed_t hs = vid.width * FRACUNIT / BASEVIDWIDTH;
|
||||||
|
fixed_t vs = vid.height * FRACUNIT / BASEVIDHEIGHT;
|
||||||
|
V_DrawStretchyFixedPatch(0, 0, hs, vs, V_NOSCALEPATCH, bgpatch, NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (bgtile)
|
else if (bgtile)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue