diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-07-29 11:47:56 -0500 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-08-13 01:05:10 -0500 |
| commit | 6bdc32c54aa19b8b61b19a4b11167ba329667b0a (patch) | |
| tree | 42d50497f50ac9ba6578301b77d9fa2dad546f72 /Source/Core/Common/IniFile.cpp | |
| parent | 3a657fe33c4d1bb060a3a67e00d2334c40dde541 (diff) | |
Add the VideoCommon PostProcessing class.
This class loads all the common PP shader configuration options and passes those options through to a inherited class that OpenGL or D3D will have.
Makes it so all the common code for PP shaders is in VideoCommon instead of duplicating the code across each backend.
Diffstat (limited to 'Source/Core/Common/IniFile.cpp')
| -rw-r--r-- | Source/Core/Common/IniFile.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/Core/Common/IniFile.cpp b/Source/Core/Common/IniFile.cpp index da9d99e250..f3ea5751ba 100644 --- a/Source/Core/Common/IniFile.cpp +++ b/Source/Core/Common/IniFile.cpp @@ -19,9 +19,7 @@ #include "Common/IniFile.h" #include "Common/StringUtil.h" -namespace { - -void ParseLine(const std::string& line, std::string* keyOut, std::string* valueOut) +void IniFile::ParseLine(const std::string& line, std::string* keyOut, std::string* valueOut) { if (line[0] == '#') return; @@ -40,8 +38,6 @@ void ParseLine(const std::string& line, std::string* keyOut, std::string* valueO } } -} - const std::string& IniFile::NULL_STRING = ""; void IniFile::Section::Set(const std::string& key, const std::string& newValue) |
