From 8917c69ab45ab430231f4c239f3056193d5bcccf Mon Sep 17 00:00:00 2001 From: Ensiform Date: Wed, 24 Apr 2024 10:11:37 -0500 Subject: [PATCH] Support r_ext_multisample 16 with OpenGL renderer VK already allows up to 64 --- src/renderer/tr_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/tr_init.c b/src/renderer/tr_init.c index 0dd88569..8d3dcf48 100644 --- a/src/renderer/tr_init.c +++ b/src/renderer/tr_init.c @@ -1788,8 +1788,8 @@ static void R_Register( void ) #ifdef USE_FBO r_ext_multisample = ri.Cvar_Get( "r_ext_multisample", "0", CVAR_ARCHIVE_ND ); - ri.Cvar_CheckRange( r_ext_multisample, "0", "8", CV_INTEGER ); - ri.Cvar_SetDescription( r_ext_multisample, "For anti-aliasing geometry edges, valid values: 0|2|4|6|8. Requires \\r_fbo 1" ); + ri.Cvar_CheckRange( r_ext_multisample, "0", "16", CV_INTEGER ); + ri.Cvar_SetDescription( r_ext_multisample, "For anti-aliasing geometry edges, valid values: 0|2|4|6|8|16. Requires \\r_fbo 1" ); ri.Cvar_SetGroup( r_ext_multisample, CVG_RENDERER ); r_hdr = ri.Cvar_Get( "r_hdr", "0", CVAR_ARCHIVE_ND ); ri.Cvar_SetDescription(r_hdr, "Enables high dynamic range frame buffer texture format. Requires \\r_fbo 1.\n -1: 4-bit, for testing purposes, heavy color banding, might not work on all systems\n 0: 8 bit, default, moderate color banding with multi-stage shaders\n 1: 16 bit, enhanced blending precision, no color banding, might decrease performance on AMD / Intel GPUs" );