diff options
author | SmileTheory <SmileTheory@gmail.com> | 2013-12-17 04:08:25 -0800 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2014-06-17 17:43:38 +0100 |
commit | 0605f9d03e791159af04c8f69a26864c187998af (patch) | |
tree | 42a23b3fef9274300a79e77ce6181c365a51ae5a /src/renderergl2/tr_init.c | |
parent | d6e67ad9d11e3683094f5cca559b79744d3737ef (diff) |
#6077: OpenGL2: Add r_ignoreDstAlpha.
Diffstat (limited to 'src/renderergl2/tr_init.c')
-rw-r--r-- | src/renderergl2/tr_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/renderergl2/tr_init.c b/src/renderergl2/tr_init.c index 010603a1..b0120875 100644 --- a/src/renderergl2/tr_init.c +++ b/src/renderergl2/tr_init.c @@ -160,6 +160,7 @@ cvar_t *r_shadowMapSize; cvar_t *r_shadowCascadeZNear; cvar_t *r_shadowCascadeZFar; cvar_t *r_shadowCascadeZBias; +cvar_t *r_ignoreDstAlpha; cvar_t *r_ignoreGLErrors; cvar_t *r_logFile; @@ -1145,6 +1146,7 @@ void R_Register( void ) r_shadowCascadeZNear = ri.Cvar_Get( "r_shadowCascadeZNear", "4", CVAR_ARCHIVE | CVAR_LATCH ); r_shadowCascadeZFar = ri.Cvar_Get( "r_shadowCascadeZFar", "3072", CVAR_ARCHIVE | CVAR_LATCH ); r_shadowCascadeZBias = ri.Cvar_Get( "r_shadowCascadeZBias", "-320", CVAR_ARCHIVE | CVAR_LATCH ); + r_ignoreDstAlpha = ri.Cvar_Get( "r_ignoreDstAlpha", "1", CVAR_ARCHIVE | CVAR_LATCH ); // // temporary latched variables that can only change over a restart |