mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-14 11:50:49 +00:00
Revert "- Remove CVAR_NOINITCALL
bit from gl_texture_hqresize*
CVARs."
This reverts commit e03d532670
.
This commit is contained in:
parent
cb01fb0cf2
commit
ccce75667e
1 changed files with 4 additions and 4 deletions
|
@ -49,7 +49,7 @@
|
||||||
int upscalemask;
|
int upscalemask;
|
||||||
|
|
||||||
EXTERN_CVAR(Int, gl_texture_hqresizemult)
|
EXTERN_CVAR(Int, gl_texture_hqresizemult)
|
||||||
CUSTOM_CVAR(Int, gl_texture_hqresizemode, 0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
CUSTOM_CVAR(Int, gl_texture_hqresizemode, 0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
|
||||||
{
|
{
|
||||||
if (self < 0 || self > 6)
|
if (self < 0 || self > 6)
|
||||||
self = 0;
|
self = 0;
|
||||||
|
@ -59,7 +59,7 @@ CUSTOM_CVAR(Int, gl_texture_hqresizemode, 0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
||||||
UpdateUpscaleMask();
|
UpdateUpscaleMask();
|
||||||
}
|
}
|
||||||
|
|
||||||
CUSTOM_CVAR(Int, gl_texture_hqresizemult, 1, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
CUSTOM_CVAR(Int, gl_texture_hqresizemult, 1, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
|
||||||
{
|
{
|
||||||
if (self < 1 || self > 6)
|
if (self < 1 || self > 6)
|
||||||
self = 1;
|
self = 1;
|
||||||
|
@ -69,13 +69,13 @@ CUSTOM_CVAR(Int, gl_texture_hqresizemult, 1, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
||||||
UpdateUpscaleMask();
|
UpdateUpscaleMask();
|
||||||
}
|
}
|
||||||
|
|
||||||
CUSTOM_CVAR(Int, gl_texture_hqresize_maxinputsize, 512, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
CUSTOM_CVAR(Int, gl_texture_hqresize_maxinputsize, 512, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
|
||||||
{
|
{
|
||||||
if (self > 1024) self = 1024;
|
if (self > 1024) self = 1024;
|
||||||
TexMan.FlushAll();
|
TexMan.FlushAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
CUSTOM_CVAR(Int, gl_texture_hqresize_targets, 15, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
CUSTOM_CVAR(Int, gl_texture_hqresize_targets, 15, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
|
||||||
{
|
{
|
||||||
TexMan.FlushAll();
|
TexMan.FlushAll();
|
||||||
UpdateUpscaleMask();
|
UpdateUpscaleMask();
|
||||||
|
|
Loading…
Reference in a new issue