mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-19 16:21:11 +00:00
Automatically sign in master user if compiled without DOOM_CLASSIC. close #892
This commit is contained in:
parent
8613b2bc69
commit
c4d951443b
2 changed files with 6 additions and 3 deletions
|
@ -1258,11 +1258,11 @@ bool DeviceManager_VK::CreateDeviceAndSwapChain()
|
|||
// 0x609a13b: vertex shader writes to output location X.0 which is not consumed by fragment shader...
|
||||
// 0x609a13b: Vertex attribute at location X not consumed by vertex shader.
|
||||
// 0x609a13b: fragment shader writes to output location X with no matching attachment.
|
||||
#ifdef _WIN32
|
||||
#ifdef _WIN32
|
||||
SetEnvironmentVariable( "VK_LAYER_MESSAGE_ID_FILTER", "0xc81ad50e;0x9805298c;0x609a13b" );
|
||||
#else
|
||||
#else
|
||||
setenv( "VK_LAYER_MESSAGE_ID_FILTER", "0xc81ad50e:0x9805298c:0x609a13b", 1 );
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
// SRS - make static so ~DynamicLoader() does not prematurely unload vulkan dynamic lib
|
||||
|
|
|
@ -2676,6 +2676,9 @@ void idSessionLocal::UpdateSignInManager()
|
|||
#if defined( USE_DOOMCLASSIC )
|
||||
// If we don't have a master user at all, then we need to be at "Press Start"
|
||||
MoveToPressStart( GDM_SP_SIGNIN_CHANGE_POST );
|
||||
#else
|
||||
// RB: automatically sign in the first user. This enumerates the savegames #892
|
||||
session->GetSignInManager().RegisterLocalUser( 0 );
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue