diff --git a/src/common/rendering/hwrenderer/postprocessing/hw_postprocess.cpp b/src/common/rendering/hwrenderer/postprocessing/hw_postprocess.cpp index 5034b7935..6a8d15af3 100644 --- a/src/common/rendering/hwrenderer/postprocessing/hw_postprocess.cpp +++ b/src/common/rendering/hwrenderer/postprocessing/hw_postprocess.cpp @@ -894,7 +894,7 @@ void PPShadowMap::Update(PPRenderState* renderstate) ///////////////////////////////////////////////////////////////////////////// -CVAR(Bool, gl_custompost, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL) +CVAR(Bool, gl_custompost, true, 0) void PPCustomShaders::Run(PPRenderState *renderstate, FString target) { diff --git a/src/common/textures/hw_material.cpp b/src/common/textures/hw_material.cpp index 944e311d1..3f149d728 100644 --- a/src/common/textures/hw_material.cpp +++ b/src/common/textures/hw_material.cpp @@ -30,7 +30,7 @@ #include "v_video.h" -CVAR(Bool, gl_customshader, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL); +CVAR(Bool, gl_customshader, true, 0); static IHardwareTexture* (*layercallback)(int layer, int translation);