summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/PostProcessing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoBackends/OGL/PostProcessing.cpp')
-rw-r--r--Source/Core/VideoBackends/OGL/PostProcessing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/OGL/PostProcessing.cpp b/Source/Core/VideoBackends/OGL/PostProcessing.cpp
index 15c89a9443..10ccf9fba8 100644
--- a/Source/Core/VideoBackends/OGL/PostProcessing.cpp
+++ b/Source/Core/VideoBackends/OGL/PostProcessing.cpp
@@ -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)