vulkan renderer was crashing without the q3 plugin loaded.

This commit is contained in:
Shpoike 2023-04-11 08:20:57 +01:00
parent e81b140614
commit 695b979af9
1 changed files with 1 additions and 1 deletions

View File

@ -3503,7 +3503,7 @@ static void VK_PaintScreen(void)
if (topmenu && topmenu->isopaque)
nohud = true;
#ifdef VM_CG
else if (q3->cg.Redraw(cl.time))
else if (q3 && q3->cg.Redraw(cl.time))
nohud = true;
#endif
#ifdef CSQC_DAT