rename vk_polyblend to r_polyblend

This commit is contained in:
Denis Pauk 2023-01-23 00:27:29 +02:00
parent 4bcaa90af7
commit 127de0b1e0
2 changed files with 4 additions and 4 deletions

View File

@ -54,7 +54,7 @@ windows.
* **vk_flashblend**: Toggle the blending of lights onto the environment. * **vk_flashblend**: Toggle the blending of lights onto the environment.
(default: `0`) (default: `0`)
* **vk_polyblend**: Blend fullscreen effects: blood, powerups etc. * **r_polyblend**: Blend fullscreen effects: blood, powerups etc.
(default: `1`) (default: `1`)
* **vk_skymip**: Toggle the usage of mipmap information for the sky * **vk_skymip**: Toggle the usage of mipmap information for the sky

View File

@ -103,7 +103,7 @@ cvar_t *vk_molten_metalbuffers;
#endif #endif
cvar_t *r_clear; cvar_t *r_clear;
cvar_t *r_lockpvs; cvar_t *r_lockpvs;
static cvar_t *vk_polyblend; static cvar_t *r_polyblend;
cvar_t *r_modulate; cvar_t *r_modulate;
cvar_t *vk_shadows; cvar_t *vk_shadows;
cvar_t *vk_pixel_size; cvar_t *vk_pixel_size;
@ -606,7 +606,7 @@ R_PolyBlend
static void static void
R_PolyBlend (void) R_PolyBlend (void)
{ {
if (!vk_polyblend->value) if (!r_polyblend->value)
return; return;
if (!v_blend[3]) if (!v_blend[3])
return; return;
@ -1137,7 +1137,7 @@ R_Register( void )
vk_finish = ri.Cvar_Get("vk_finish", "0", CVAR_ARCHIVE); vk_finish = ri.Cvar_Get("vk_finish", "0", CVAR_ARCHIVE);
r_clear = ri.Cvar_Get("r_clear", "0", CVAR_ARCHIVE); r_clear = ri.Cvar_Get("r_clear", "0", CVAR_ARCHIVE);
r_lockpvs = ri.Cvar_Get("r_lockpvs", "0", 0); r_lockpvs = ri.Cvar_Get("r_lockpvs", "0", 0);
vk_polyblend = ri.Cvar_Get("vk_polyblend", "1", 0); r_polyblend = ri.Cvar_Get("r_polyblend", "1", 0);
r_modulate = ri.Cvar_Get("r_modulate", "1", CVAR_ARCHIVE); r_modulate = ri.Cvar_Get("r_modulate", "1", CVAR_ARCHIVE);
vk_shadows = ri.Cvar_Get("r_shadows", "0", CVAR_ARCHIVE); vk_shadows = ri.Cvar_Get("r_shadows", "0", CVAR_ARCHIVE);
vk_pixel_size = ri.Cvar_Get("vk_pixel_size", "1", CVAR_ARCHIVE); vk_pixel_size = ri.Cvar_Get("vk_pixel_size", "1", CVAR_ARCHIVE);