mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 23:32:04 +00:00
- fixed: gl_bloom_amount may never be 0.
This commit is contained in:
parent
e8c98a5901
commit
8aebfdb3ab
1 changed files with 5 additions and 1 deletions
|
@ -76,7 +76,11 @@
|
||||||
//
|
//
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
CVAR(Bool, gl_bloom, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG);
|
CVAR(Bool, gl_bloom, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG);
|
||||||
CVAR(Float, gl_bloom_amount, 1.4f, 0)
|
CUSTOM_CVAR(Float, gl_bloom_amount, 1.4f, 0)
|
||||||
|
{
|
||||||
|
if (self < 0.1f) self = 0.1f;
|
||||||
|
}
|
||||||
|
|
||||||
CVAR(Float, gl_exposure, 0.0f, 0)
|
CVAR(Float, gl_exposure, 0.0f, 0)
|
||||||
|
|
||||||
CUSTOM_CVAR(Int, gl_tonemap, 0, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
|
CUSTOM_CVAR(Int, gl_tonemap, 0, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
|
||||||
|
|
Loading…
Reference in a new issue