Skip to content

Commit

Permalink
Merge pull request #827 from Sonicadvance1/fix-pp-config
Browse files Browse the repository at this point in the history
Fixes PP-shaders on !Mesa targets.
  • Loading branch information
delroth committed Aug 18, 2014
2 parents 9e2fbaf + 32fb618 commit 5bfc3ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/VideoBackends/OGL/PostProcessing.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit 5bfc3ad

Please sign in to comment.