Skip to content

Commit

Permalink
- add description to gl_lightmode
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Sep 16, 2023
1 parent 7fbd99c commit f55e388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/g_level.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ CUSTOM_CVAR(Int, gl_maplightmode, -1, CVAR_NOINITCALL) // this is just for testi
if (self > 5 || self < -1) self = -1;
}

CUSTOM_CVAR(Int, gl_lightmode, 1, CVAR_ARCHIVE)
CUSTOM_CVARD(Int, gl_lightmode, 1, CVAR_ARCHIVE, "Select lighting mode. 2 is vanilla accurate, 1 is accurate to the ZDoom software renderer and 0 is a less demanding non-shader implementation")
{
if (self < 0 || self > 2) self = 1;
}
Expand Down

0 comments on commit f55e388

Please sign in to comment.