- change cvars gl_custompost and gl_customshader to archive and save to .ini since there are uses for these shaders beyond mere debugging.

This commit is contained in:
Rachael Alexanderson 2021-10-20 11:23:05 -04:00
parent bb44f3dcd9
commit 2420371c46
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, 0)
CVAR(Bool, gl_custompost, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
void PPCustomShaders::Run(PPRenderState *renderstate, FString target)
{

View file

@ -30,7 +30,7 @@
#include "v_video.h"
CVAR(Bool, gl_customshader, true, 0);
CVAR(Bool, gl_customshader, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL);
static IHardwareTexture* (*layercallback)(int layer, int translation);