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 2420371c46.
This commit is contained in:
Rachael Alexanderson 2022-04-21 02:49:39 -04:00
parent 991b4725dd
commit 0fa830ddd7
2 changed files with 2 additions and 2 deletions

View file

@ -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) void PPCustomShaders::Run(PPRenderState *renderstate, FString target)
{ {

View file

@ -30,7 +30,7 @@
#include "v_video.h" #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); static IHardwareTexture* (*layercallback)(int layer, int translation);