From 0fa830ddd7ab081ecfa439430f2adc0dd3bb3371 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Thu, 21 Apr 2022 02:49:39 -0400 Subject: [PATCH] Revert "- change cvars `gl_custompost` and `gl_customshader` to archive and save to .ini since there are uses for these shaders beyond mere debugging." This reverts commit 2420371c4607f71085496b314e9eddd12e069a24. --- .../rendering/hwrenderer/postprocessing/hw_postprocess.cpp | 2 +- src/common/textures/hw_material.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);