diff options
| author | Léo Lam <leo@leolam.fr> | 2020-10-21 21:34:38 +0200 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2020-10-21 22:00:10 +0200 |
| commit | aaaa3896c09369ee0610992f14ab5a845e040315 (patch) | |
| tree | 85cff6d7e162d23ede083cb3aaf19428377eab95 /Source/Core/Common/FileUtil.cpp | |
| parent | fd5f9f4c264669e952b0c06e25f77484426c97fa (diff) | |
VideoCommon: Get rid of the global g_available_video_backends
Replace it with a function-local static that is initialized on first
use. This gets rid of a global variable and removes the need for
manual initialization in UICommon.
This commit also replaces the weird find_if that looks for a non-null
unique_ptr with a simple "is vector empty" check considering that
none of the pointers can be null by construction.
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
0 files changed, 0 insertions, 0 deletions
