- added the code for legacy shaders.
- force texture filtering for 2D to off when in software rendering.
This commit is contained in:
parent
5eb898107f
commit
b12a6fded9
14 changed files with 288 additions and 27 deletions
|
|
@ -52,7 +52,6 @@
|
|||
|
||||
|
||||
CVAR(Bool, gl_lights_additive, false, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
||||
CVAR(Bool, gl_legacy_mode, false, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOSET)
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
|
|
@ -64,7 +63,7 @@ CVAR(Bool, gl_legacy_mode, false, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOSET)
|
|||
void gl_PatchMenu()
|
||||
{
|
||||
// Radial fog and Doom lighting are not available without full shader support.
|
||||
if (!gl_legacy_mode) return;
|
||||
if (!gl.legacyMode) return;
|
||||
|
||||
FOptionValues **opt = OptionValues.CheckKey("LightingModes");
|
||||
if (opt != NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue