From e2e1505e8356cba192a92e98ddf64aaaf9258848 Mon Sep 17 00:00:00 2001 From: Spoike Date: Thu, 9 Sep 2021 14:42:28 +0000 Subject: [PATCH] Stop vulkan-only builds crashing when playing around in the menus. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6060 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/renderer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engine/client/renderer.c b/engine/client/renderer.c index 6b9621187..c955bdd03 100644 --- a/engine/client/renderer.c +++ b/engine/client/renderer.c @@ -572,8 +572,6 @@ void GLRenderer_Init(void) Cvar_Register (&gl_smoothcrosshair, GRAPHICALNICETIES); - Cvar_Register (&r_deluxemapping_cvar, GRAPHICALNICETIES); - #ifdef R_XFLIP Cvar_Register (&r_xflip, GLRENDEREROPTIONS); #endif @@ -972,6 +970,7 @@ void Renderer_Init(void) Cvar_Register (&gl_mipcap, GLRENDEREROPTIONS); Cvar_Register (&gl_texture_lodbias, GLRENDEREROPTIONS); Cvar_Register (&gl_texture_anisotropic_filtering, GLRENDEREROPTIONS); + Cvar_Register (&r_deluxemapping_cvar, GRAPHICALNICETIES); Cvar_Register (&r_max_gpu_bones, GRAPHICALNICETIES); Cvar_Register (&r_drawflat, GRAPHICALNICETIES); Cvar_Register (&r_lightmap, GRAPHICALNICETIES);