mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 17:49:01 +00:00
OGL: Use struct for post-processing shader options
This removes the need for token pasting, which isn't supported in GLSL ES. Shouldn't cause any issues unless people are using reserved keywords as option names.
This commit is contained in:
parent
a389ae0711
commit
e370f6a82a
2 changed files with 21 additions and 14 deletions
|
@ -38,7 +38,7 @@ private:
|
|||
std::unordered_map<std::string, GLuint> m_uniform_bindings;
|
||||
|
||||
void CreateHeader();
|
||||
std::string LoadShaderOptions(const std::string& code);
|
||||
std::string LoadShaderOptions();
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue