From 285ac34bf3bada1737dd1e0a2f30af575435828e Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Mon, 25 May 2015 15:14:20 +0200 Subject: OGL: use GL_TEXTURE* constants --- Source/Core/VideoBackends/OGL/PostProcessing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoBackends/OGL/PostProcessing.cpp') 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); -- cgit v1.2.3