From 061a33477f15ec18f497d051f171180e2e426b38 Mon Sep 17 00:00:00 2001 From: James Rowe Date: Mon, 9 Sep 2019 18:31:19 -0600 Subject: [PATCH] Properly bind the shader sampler and uniform bindings --- src/video_core/renderer_opengl/gl_shader_manager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video_core/renderer_opengl/gl_shader_manager.cpp b/src/video_core/renderer_opengl/gl_shader_manager.cpp index 9a340fd1d5..f9c06aedde 100644 --- a/src/video_core/renderer_opengl/gl_shader_manager.cpp +++ b/src/video_core/renderer_opengl/gl_shader_manager.cpp @@ -188,6 +188,8 @@ public: } void Inject(OGLProgram&& program) { + SetShaderUniformBlockBindings(program.handle); + SetShaderSamplerBindings(program.handle); shader_or_program = std::move(program); }