mirror of
https://github.com/yquake2/ref_vk.git
synced 2024-12-02 08:21:59 +00:00
rename vk_polyblend to r_polyblend
This commit is contained in:
parent
4bcaa90af7
commit
127de0b1e0
2 changed files with 4 additions and 4 deletions
|
@ -54,7 +54,7 @@ windows.
|
|||
* **vk_flashblend**: Toggle the blending of lights onto the environment.
|
||||
(default: `0`)
|
||||
|
||||
* **vk_polyblend**: Blend fullscreen effects: blood, powerups etc.
|
||||
* **r_polyblend**: Blend fullscreen effects: blood, powerups etc.
|
||||
(default: `1`)
|
||||
|
||||
* **vk_skymip**: Toggle the usage of mipmap information for the sky
|
||||
|
|
|
@ -103,7 +103,7 @@ cvar_t *vk_molten_metalbuffers;
|
|||
#endif
|
||||
cvar_t *r_clear;
|
||||
cvar_t *r_lockpvs;
|
||||
static cvar_t *vk_polyblend;
|
||||
static cvar_t *r_polyblend;
|
||||
cvar_t *r_modulate;
|
||||
cvar_t *vk_shadows;
|
||||
cvar_t *vk_pixel_size;
|
||||
|
@ -606,7 +606,7 @@ R_PolyBlend
|
|||
static void
|
||||
R_PolyBlend (void)
|
||||
{
|
||||
if (!vk_polyblend->value)
|
||||
if (!r_polyblend->value)
|
||||
return;
|
||||
if (!v_blend[3])
|
||||
return;
|
||||
|
@ -1137,7 +1137,7 @@ R_Register( void )
|
|||
vk_finish = ri.Cvar_Get("vk_finish", "0", CVAR_ARCHIVE);
|
||||
r_clear = ri.Cvar_Get("r_clear", "0", CVAR_ARCHIVE);
|
||||
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);
|
||||
vk_shadows = ri.Cvar_Get("r_shadows", "0", CVAR_ARCHIVE);
|
||||
vk_pixel_size = ri.Cvar_Get("vk_pixel_size", "1", CVAR_ARCHIVE);
|
||||
|
|
Loading…
Reference in a new issue