diff options
| author | Mat M <mathew1800@gmail.com> | 2020-05-27 07:04:06 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-27 07:04:06 -0400 |
| commit | c62e6a335d9ef7c96f24e54da5a3dcab58ff8c67 (patch) | |
| tree | e8eadf01393d13562e940105e8a29b08761bc010 /Source/Core/VideoCommon/ShaderCache.cpp | |
| parent | 68706973d2c190d1a683c2e6a33d7515618bb930 (diff) | |
| parent | 86f8768268d58d6f5b11bcb74011c0af8159cde7 (diff) | |
Merge pull request #8532 from lioncash/shader-common-fmt
VideoCommon/ShaderGenCommon: Convert helper functions over to fmt where applicable
Diffstat (limited to 'Source/Core/VideoCommon/ShaderCache.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/ShaderCache.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/ShaderCache.cpp b/Source/Core/VideoCommon/ShaderCache.cpp index 53866a3bfa..e148918ddb 100644 --- a/Source/Core/VideoCommon/ShaderCache.cpp +++ b/Source/Core/VideoCommon/ShaderCache.cpp @@ -15,14 +15,19 @@ #include "VideoCommon/Statistics.h" #include "VideoCommon/VertexLoaderManager.h" #include "VideoCommon/VertexManagerBase.h" +#include "VideoCommon/VideoCommon.h" +#include "VideoCommon/VideoConfig.h" -#include "imgui.h" +#include <imgui.h> std::unique_ptr<VideoCommon::ShaderCache> g_shader_cache; namespace VideoCommon { -ShaderCache::ShaderCache() = default; +ShaderCache::ShaderCache() : m_api_type{APIType::Nothing} +{ +} + ShaderCache::~ShaderCache() { ClearCaches(); |
