Merge pull request #827 from Sonicadvance1/fix-pp-config

Fixes PP-shaders on !Mesa targets.
This commit is contained in:
Pierre Bourdon 2014-08-18 05:02:17 +02:00
commit 5bfc3ad342
1 changed files with 2 additions and 2 deletions

View File

@ -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)