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
This commit is contained in:
Spoike 2021-09-09 14:42:28 +00:00
parent f16d244387
commit e2e1505e83

View file

@ -572,8 +572,6 @@ void GLRenderer_Init(void)
Cvar_Register (&gl_smoothcrosshair, GRAPHICALNICETIES); Cvar_Register (&gl_smoothcrosshair, GRAPHICALNICETIES);
Cvar_Register (&r_deluxemapping_cvar, GRAPHICALNICETIES);
#ifdef R_XFLIP #ifdef R_XFLIP
Cvar_Register (&r_xflip, GLRENDEREROPTIONS); Cvar_Register (&r_xflip, GLRENDEREROPTIONS);
#endif #endif
@ -972,6 +970,7 @@ void Renderer_Init(void)
Cvar_Register (&gl_mipcap, GLRENDEREROPTIONS); Cvar_Register (&gl_mipcap, GLRENDEREROPTIONS);
Cvar_Register (&gl_texture_lodbias, GLRENDEREROPTIONS); Cvar_Register (&gl_texture_lodbias, GLRENDEREROPTIONS);
Cvar_Register (&gl_texture_anisotropic_filtering, GLRENDEREROPTIONS); Cvar_Register (&gl_texture_anisotropic_filtering, GLRENDEREROPTIONS);
Cvar_Register (&r_deluxemapping_cvar, GRAPHICALNICETIES);
Cvar_Register (&r_max_gpu_bones, GRAPHICALNICETIES); Cvar_Register (&r_max_gpu_bones, GRAPHICALNICETIES);
Cvar_Register (&r_drawflat, GRAPHICALNICETIES); Cvar_Register (&r_drawflat, GRAPHICALNICETIES);
Cvar_Register (&r_lightmap, GRAPHICALNICETIES); Cvar_Register (&r_lightmap, GRAPHICALNICETIES);