mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-27 22:42:47 +00:00
Properly bind the shader sampler and uniform bindings
This commit is contained in:
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue