Merge pull request #827 from Sonicadvance1/fix-pp-config
Fixes PP-shaders on !Mesa targets.
This commit is contained in:
commit
5bfc3ad342
|
@ -265,8 +265,8 @@ void OpenGLPostProcessing::CreateHeader()
|
|||
"\tocol0 = color;\n"
|
||||
"}\n"
|
||||
|
||||
"#define GetOption(x) (option_#x)\n"
|
||||
"#define OptionEnabled(x) (option_#x != 0)\n";
|
||||
"#define GetOption(x) (option_##x)\n"
|
||||
"#define OptionEnabled(x) (option_##x != 0)\n";
|
||||
}
|
||||
|
||||
std::string OpenGLPostProcessing::LoadShaderOptions(const std::string& code)
|
||||
|
|
Loading…
Reference in New Issue