summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/PostProcessing.cpp
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2015-05-25 15:14:20 +0200
committerTillmann Karras <tilkax@gmail.com>2015-05-27 15:05:49 +0200
commit285ac34bf3bada1737dd1e0a2f30af575435828e (patch)
tree7db90308460310477651ce9acab37436f7bbb9eb /Source/Core/VideoBackends/OGL/PostProcessing.cpp
parenta26cf63783df47b6f70e9ff9987e1a37c92a2e38 (diff)
OGL: use GL_TEXTURE* constants
Diffstat (limited to 'Source/Core/VideoBackends/OGL/PostProcessing.cpp')
-rw-r--r--Source/Core/VideoBackends/OGL/PostProcessing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/OGL/PostProcessing.cpp b/Source/Core/VideoBackends/OGL/PostProcessing.cpp
index af26e398fb..92ca734398 100644
--- a/Source/Core/VideoBackends/OGL/PostProcessing.cpp
+++ b/Source/Core/VideoBackends/OGL/PostProcessing.cpp
@@ -152,7 +152,7 @@ void OpenGLPostProcessing::BlitFromTexture(TargetRectangle src, TargetRectangle
m_config.SetDirty(false);
}
- glActiveTexture(GL_TEXTURE0+9);
+ glActiveTexture(GL_TEXTURE9);
glBindTexture(GL_TEXTURE_2D_ARRAY, src_texture);
glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MIN_FILTER, GL_LINEAR);