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"
|
"\tocol0 = color;\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
|
|
||||||
"#define GetOption(x) (option_#x)\n"
|
"#define GetOption(x) (option_##x)\n"
|
||||||
"#define OptionEnabled(x) (option_#x != 0)\n";
|
"#define OptionEnabled(x) (option_##x != 0)\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string OpenGLPostProcessing::LoadShaderOptions(const std::string& code)
|
std::string OpenGLPostProcessing::LoadShaderOptions(const std::string& code)
|
||||||
|
|
Loading…
Reference in New Issue