- added the code for legacy shaders.

- force texture filtering for 2D to off when in software rendering.
This commit is contained in:
Christoph Oelckers 2018-04-08 12:11:51 +02:00
commit b12a6fded9
14 changed files with 288 additions and 27 deletions

View file

@ -43,9 +43,6 @@ static TArray<FString> m_Extensions;
RenderContext gl;
static double realglversion; // this is public so the statistics code can access it.
EXTERN_CVAR(Bool, gl_legacy_mode)
CVAR(Bool, gl_riskymodernpath, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
//==========================================================================
//
//
@ -322,7 +319,6 @@ void gl_LoadExtensions()
UCVarValue value;
value.Bool = gl.legacyMode;
gl_legacy_mode.ForceSet (value, CVAR_Bool);
}
//==========================================================================