mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-08 14:00:43 +00:00
Merge branch 'master' of https://github.com/coelckers/gzdoom into stereo3d
This commit is contained in:
commit
bcac352265
1 changed files with 4 additions and 1 deletions
|
@ -71,7 +71,10 @@ CUSTOM_CVAR(Bool, gl_enhanced_nightvision, true, CVAR_ARCHIVE|CVAR_NOINITCALL)
|
||||||
{
|
{
|
||||||
// The fixed colormap state needs to be reset because if this happens when
|
// The fixed colormap state needs to be reset because if this happens when
|
||||||
// a shader is set to CM_LITE or CM_TORCH it won't register the change in behavior caused by this CVAR.
|
// a shader is set to CM_LITE or CM_TORCH it won't register the change in behavior caused by this CVAR.
|
||||||
GLRenderer->mShaderManager->ResetFixedColormap();
|
if (GLRenderer != NULL && GLRenderer->mShaderManager != NULL)
|
||||||
|
{
|
||||||
|
GLRenderer->mShaderManager->ResetFixedColormap();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
CVAR(Bool, gl_brightfog, false, CVAR_ARCHIVE);
|
CVAR(Bool, gl_brightfog, false, CVAR_ARCHIVE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue