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,7 +3546,9 @@ static void VK_PaintScreen(void)
|
||||||
nohud = true;
|
nohud = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
SCR_DrawTwoDimensional(nohud);
|
r_refdef.playerview = &cl.playerview[0];
|
||||||
|
if (!vrui.enabled)
|
||||||
|
SCR_DrawTwoDimensional(nohud);
|
||||||
|
|
||||||
V_UpdatePalette (false);
|
V_UpdatePalette (false);
|
||||||
R2D_BrightenScreen();
|
R2D_BrightenScreen();
|
||||||
|
|
Loading…
Reference in a new issue