mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
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.
This commit is contained in:
parent
3a657fe33c
commit
6bdc32c54a
13 changed files with 555 additions and 27 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue