mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Set Sampler values at program make time instead of every frame. Fix an issue when The user had UBO support but not Binding support.
This commit is contained in:

committed by
Sonicadvance1

parent
ddd4360d6d
commit
f8d0c28e53
@ -314,8 +314,6 @@ 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);
|
||||
|
||||
|
Reference in New Issue
Block a user