Welp, just fixed that problem.

This commit is contained in:
Ryan Houdek 2011-12-07 23:23:00 -06:00 committed by Sonicadvance1
parent 3c9c5de722
commit 081ad949ce
1 changed files with 2 additions and 0 deletions

View File

@ -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);