Fix vulkan crash on map end.
This commit is contained in:
parent
d9a334c694
commit
540de79103
1 changed files with 3 additions and 1 deletions
|
@ -3546,6 +3546,8 @@ static void VK_PaintScreen(void)
|
||||||
nohud = true;
|
nohud = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
r_refdef.playerview = &cl.playerview[0];
|
||||||
|
if (!vrui.enabled)
|
||||||
SCR_DrawTwoDimensional(nohud);
|
SCR_DrawTwoDimensional(nohud);
|
||||||
|
|
||||||
V_UpdatePalette (false);
|
V_UpdatePalette (false);
|
||||||
|
|
Loading…
Reference in a new issue