mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 03:51:32 +00:00
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;
|
||||
}
|
||||
|
||||
SCR_DrawTwoDimensional(nohud);
|
||||
r_refdef.playerview = &cl.playerview[0];
|
||||
if (!vrui.enabled)
|
||||
SCR_DrawTwoDimensional(nohud);
|
||||
|
||||
V_UpdatePalette (false);
|
||||
R2D_BrightenScreen();
|
||||
|
|
Loading…
Reference in a new issue