mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-26 18:45:33 +00:00
gl_shader_manager: Replace unimplemented function prototype
This was just a linker error waiting to happen.
This commit is contained in:
parent
c1c9ab31e8
commit
d5bc9aef4e
|
@ -10,8 +10,9 @@
|
|||
namespace GLShader {
|
||||
|
||||
namespace Impl {
|
||||
void SetShaderUniformBlockBinding(GLuint shader, const char* name,
|
||||
Maxwell3D::Regs::ShaderStage binding, size_t expected_size) {
|
||||
static void SetShaderUniformBlockBinding(GLuint shader, const char* name,
|
||||
Maxwell3D::Regs::ShaderStage binding,
|
||||
size_t expected_size) {
|
||||
GLuint ub_index = glGetUniformBlockIndex(shader, name);
|
||||
if (ub_index != GL_INVALID_INDEX) {
|
||||
GLint ub_size = 0;
|
||||
|
|
|
@ -21,7 +21,6 @@ using Tegra::Engines::Maxwell3D;
|
|||
|
||||
namespace Impl {
|
||||
void SetShaderUniformBlockBindings(GLuint shader);
|
||||
void SetShaderSamplerBindings(GLuint shader);
|
||||
} // namespace Impl
|
||||
|
||||
/// Uniform structure for the Uniform Buffer Object, all vectors must be 16-byte aligned
|
||||
|
|
Loading…
Reference in a new issue