Skip to content
Snippets Groups Projects
Commit d5bc9aef authored by Lioncash's avatar Lioncash
Browse files

gl_shader_manager: Replace unimplemented function prototype

This was just a linker error waiting to happen.
parent c1c9ab31
No related branches found
No related tags found
No related merge requests found
...@@ -10,8 +10,9 @@ ...@@ -10,8 +10,9 @@
namespace GLShader { namespace GLShader {
namespace Impl { namespace Impl {
void SetShaderUniformBlockBinding(GLuint shader, const char* name, static void SetShaderUniformBlockBinding(GLuint shader, const char* name,
Maxwell3D::Regs::ShaderStage binding, size_t expected_size) { Maxwell3D::Regs::ShaderStage binding,
size_t expected_size) {
GLuint ub_index = glGetUniformBlockIndex(shader, name); GLuint ub_index = glGetUniformBlockIndex(shader, name);
if (ub_index != GL_INVALID_INDEX) { if (ub_index != GL_INVALID_INDEX) {
GLint ub_size = 0; GLint ub_size = 0;
......
...@@ -21,7 +21,6 @@ using Tegra::Engines::Maxwell3D; ...@@ -21,7 +21,6 @@ using Tegra::Engines::Maxwell3D;
namespace Impl { namespace Impl {
void SetShaderUniformBlockBindings(GLuint shader); void SetShaderUniformBlockBindings(GLuint shader);
void SetShaderSamplerBindings(GLuint shader);
} // namespace Impl } // namespace Impl
/// Uniform structure for the Uniform Buffer Object, all vectors must be 16-byte aligned /// Uniform structure for the Uniform Buffer Object, all vectors must be 16-byte aligned
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment