mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-07 12:50:38 +08:00
ref: gl: mark gl_max_size as compatibility cvar
This commit is contained in:
@@ -1102,7 +1102,7 @@ void GL_InitExtensions( void )
|
||||
pglGetIntegerv( GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT, &glConfig.max_2d_rectangle_size );
|
||||
|
||||
Q_snprintf( value, sizeof( value ), "%i", glConfig.max_2d_texture_size );
|
||||
gEngfuncs.Cvar_Get( "gl_max_size", value, 0, "opengl texture max dims" );
|
||||
gEngfuncs.Cvar_Get( "gl_max_size", value, 0, "opengl texture max dims (compatibility cvar, does nothing)" );
|
||||
gEngfuncs.Cvar_SetValue( "gl_anisotropy", bound( 0, gl_texture_anisotropy.value, glConfig.max_texture_anisotropy ));
|
||||
|
||||
if( GL_Support( GL_TEXTURE_COMPRESSION_EXT ))
|
||||
|
||||
Reference in New Issue
Block a user