mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-04 01:41:26 +00:00
- 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:
parent
bb44f3dcd9
commit
2420371c46
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue