when not using screentextures draw kart bg on intermission screen

This commit is contained in:
Alug committed 2024-05-28 00:52:52 +02:00
1 parent ddddc7a898
commit 67aa71170f
1 file changed
+6 -1
+6 -1
View File
@@ -6238,7 +6238,12 @@ void HWR_EndScreenWipe(void)
void HWR_DrawIntermissionBG(void)
{
HWD.pfnDrawScreenTexture(HWD_SCREENTEXTURE_GENERIC1, NULL, 0);
patch_t *bgpatch = W_CachePatchName("SRB2BACK", PU_CACHE);
if (cv_grscreentextures.value != 3)
V_DrawPatchFill(bgpatch); // use the neato kart bg for intermission on disabled screen textures
else
HWD.pfnDrawScreenTexture(HWD_SCREENTEXTURE_GENERIC1, NULL, 0);
}
void HWR_DoWipe(UINT8 wipenum, UINT8 scrnnum)