From c2cb4ed5b8b141532b177b9c9e8dddfd30dbda34 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 7 Aug 2026 07:12:30 +0500 Subject: [PATCH] ref: gl: mark gl_max_size as compatibility cvar --- ref/gl/gl_opengl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ref/gl/gl_opengl.c b/ref/gl/gl_opengl.c index a09ea627..ef56fd87 100644 --- a/ref/gl/gl_opengl.c +++ b/ref/gl/gl_opengl.c @@ -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 ))