From 695b979af9a47650520596064f7902924aeb888c Mon Sep 17 00:00:00 2001 From: Shpoike Date: Tue, 11 Apr 2023 08:20:57 +0100 Subject: [PATCH] vulkan renderer was crashing without the q3 plugin loaded. --- engine/vk/vk_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/vk/vk_init.c b/engine/vk/vk_init.c index 03167907b..f3f7af881 100644 --- a/engine/vk/vk_init.c +++ b/engine/vk/vk_init.c @@ -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