1
0
mirror of https://github.com/citra-emu/citra.git synced 2025-05-03 15:10:07 +00:00

Properly bind the shader sampler and uniform bindings

This commit is contained in:
James Rowe 2019-09-09 18:31:19 -06:00
parent a20c81d593
commit 061a33477f

@ -188,6 +188,8 @@ public:
} }
void Inject(OGLProgram&& program) { void Inject(OGLProgram&& program) {
SetShaderUniformBlockBindings(program.handle);
SetShaderSamplerBindings(program.handle);
shader_or_program = std::move(program); shader_or_program = std::move(program);
} }