Skip to content

Commit

Permalink
Removed GAMESCOPE_NV12_COLORSPACE default
Browse files Browse the repository at this point in the history
This was being set in UpdateCompatEnvVars(), which is called after the environment variable is already read. The default in rendervulkan.cpp if the environment variable isn't set is BT.709 full-range, which is a sane default, so this isn't necessary.
  • Loading branch information
slouken authored and misyltoad committed Oct 11, 2024
1 parent 38e9074 commit 751b97c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -611,9 +611,6 @@ static void UpdateCompatEnvVars()
// Don't minimise stuff on focus loss with SDL.
setenv( "SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS", "0", 1 );

// A sane default here.
setenv( "GAMESCOPE_NV12_COLORSPACE", "k_EStreamColorspace_BT601", 0 );

const char *pszMangoConfigPath = getenv( "MANGOHUD_CONFIGFILE" );
if ( (g_bLaunchMangoapp && steamMode) && ( !pszMangoConfigPath || !*pszMangoConfigPath ) )
{
Expand Down

0 comments on commit 751b97c

Please sign in to comment.