dolphin/Source/Core/VideoBackends/D3DCommon
Léo Lam 83c5446d85
Fix static initialisation order fiasco issue for Version variables
Fixes a crash that could occur if the static constructor function for
the MainSettings.cpp TU happened to run before the variables in
Common/Version.cpp are initialised. (This is known as the static
initialisation order fiasco.)

By using wrapper functions, those variables are now guaranteed to be
constructed on first use.
2022-01-14 00:04:22 +01:00
..
CMakeLists.txt rename D3DCommon/Common to D3DCommon/D3DCommon 2021-01-27 14:29:48 -08:00
D3DCommon.cpp Use HRWrap in remaining locations 2022-01-09 12:44:55 -08:00
D3DCommon.h VideoBackends/D3D: Eliminate CHECK in favor of ASSERT_MSG 2022-01-09 12:44:13 -08:00
Shader.cpp Fix static initialisation order fiasco issue for Version variables 2022-01-14 00:04:22 +01:00
Shader.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
SwapChain.cpp Use HRWrap in remaining locations 2022-01-09 12:44:55 -08:00
SwapChain.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00