mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-10 22:22:10 +08:00
Merge 4097
This commit is contained in:
@@ -311,9 +311,9 @@ void R_SetTextureParameters( void )
|
||||
if( GL_Support( GL_TEXTURE_LOD_BIAS ))
|
||||
{
|
||||
if( gl_texture_lodbias->value < -glConfig.max_texture_lod_bias )
|
||||
Cvar_SetValue( "gl_mipmap_bias", -glConfig.max_texture_lod_bias );
|
||||
Cvar_SetValue( "gl_texture_lodbias", -glConfig.max_texture_lod_bias );
|
||||
else if( gl_texture_lodbias->value > glConfig.max_texture_lod_bias )
|
||||
Cvar_SetValue( "gl_mipmap_bias", glConfig.max_texture_lod_bias );
|
||||
Cvar_SetValue( "gl_texture_lodbias", glConfig.max_texture_lod_bias );
|
||||
}
|
||||
|
||||
ClearBits( gl_texture_anisotropy->flags, FCVAR_CHANGED );
|
||||
|
||||
Reference in New Issue
Block a user