From 081ad949ce46b54288d1dc823048bb6ab202f254 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Wed, 7 Dec 2011 23:23:00 -0600 Subject: [PATCH] Welp, just fixed that problem. --- Source/Plugins/Plugin_VideoOGL/Src/TextureConverter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/TextureConverter.cpp b/Source/Plugins/Plugin_VideoOGL/Src/TextureConverter.cpp index 47eb828dd9..c542a64cb9 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/TextureConverter.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/TextureConverter.cpp @@ -263,6 +263,8 @@ void EncodeToRamUsingShader(GLuint srcTexture, const TargetRectangle& sourceRc, } GL_REPORT_ERRORD(); + if(g_ActiveConfig.bUseGLSL) + PixelShaderCache::SetPSSampler("samp0", 0); glViewport(0, 0, (GLsizei)dstWidth, (GLsizei)dstHeight);