Fix vulkan crash on map end.

This commit is contained in:
Shpoike 2023-01-20 01:40:56 +00:00
parent d9a334c694
commit 540de79103

View file

@ -3546,7 +3546,9 @@ static void VK_PaintScreen(void)
nohud = true;
}
SCR_DrawTwoDimensional(nohud);
r_refdef.playerview = &cl.playerview[0];
if (!vrui.enabled)
SCR_DrawTwoDimensional(nohud);
V_UpdatePalette (false);
R2D_BrightenScreen();