ref_gl: do not apply overbright color if lightscale correction used

This commit is contained in:
mittorn 2024-02-22 21:01:20 +03:00
parent 6c77608c34
commit 0f3359fc05
1 changed files with 2 additions and 1 deletions

View File

@ -927,7 +927,8 @@ static void R_BlendLightmaps( void )
if( gl_overbright.value )
{
pglBlendFunc( GL_DST_COLOR, GL_SRC_COLOR );
pglColor4f( 128.0f / 192.0f, 128.0f / 192.0f, 128.0f / 192.0f, 1.0f );
if(!( r_vbo.value && !r_vbo_overbrightmode.value ))
pglColor4f( 128.0f / 192.0f, 128.0f / 192.0f, 128.0f / 192.0f, 1.0f );
}
else
{