diff options
| author | Stenzek <stenzek@users.noreply.github.com> | 2017-04-28 22:50:14 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-28 22:50:14 +1000 |
| commit | 68ee4fc932ddff320f535b6054ceff0c58348b64 (patch) | |
| tree | 937bda8967539f3dfbc15133b9e78fbfba4a555c /Source/Core/VideoBackends/OGL/main.cpp | |
| parent | f2035384e5e03ec86abefeb7ab24fa1fc3dd8f39 (diff) | |
| parent | 27ae5b8d34675244af689b260f0dbb391bb6209e (diff) | |
Merge pull request #5296 from stenzek/vulkan-postprocessing
Vulkan: Implement support for post-processing
Diffstat (limited to 'Source/Core/VideoBackends/OGL/main.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/main.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Source/Core/VideoBackends/OGL/main.cpp b/Source/Core/VideoBackends/OGL/main.cpp index 868d789785..430859932e 100644 --- a/Source/Core/VideoBackends/OGL/main.cpp +++ b/Source/Core/VideoBackends/OGL/main.cpp @@ -38,8 +38,6 @@ Make AA apply instantly during gameplay if possible #include <string> #include <vector> -#include "Common/CommonPaths.h" -#include "Common/FileSearch.h" #include "Common/GL/GLInterfaceBase.h" #include "Common/GL/GLUtil.h" #include "Common/MsgHandler.h" @@ -79,21 +77,6 @@ std::string VideoBackend::GetDisplayName() const return "OpenGL"; } -static std::vector<std::string> GetShaders(const std::string& sub_dir = "") -{ - std::vector<std::string> paths = - Common::DoFileSearch({".glsl"}, {File::GetUserPath(D_SHADERS_IDX) + sub_dir, - File::GetSysDirectory() + SHADERS_DIR DIR_SEP + sub_dir}); - std::vector<std::string> result; - for (std::string path : paths) - { - std::string name; - SplitPath(path, nullptr, &name, nullptr); - result.push_back(name); - } - return result; -} - void VideoBackend::InitBackendInfo() { g_Config.backend_info.api_type = APIType::OpenGL; @@ -125,10 +108,6 @@ void VideoBackend::InitBackendInfo() // aamodes - 1 is to stay consistent with D3D (means no AA) g_Config.backend_info.AAModes = {1, 2, 4, 8}; - - // pp shaders - g_Config.backend_info.PPShaders = GetShaders(""); - g_Config.backend_info.AnaglyphShaders = GetShaders(ANAGLYPH_DIR DIR_SEP); } bool VideoBackend::InitializeGLExtensions() |
