summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-21 00:01:49 +0200
committerLioncash <mathew1800@gmail.com>2018-07-21 00:39:54 +0200
commitd5bc9aef4e63bbc17e3c6c2d2b92cba0c191265c (patch)
treedf6545406a7f70710041a8ecf709f092b55db8d7
parentMerge pull request #740 from Subv/acc_crash (diff)
downloadyuzu-d5bc9aef4e63bbc17e3c6c2d2b92cba0c191265c.tar
yuzu-d5bc9aef4e63bbc17e3c6c2d2b92cba0c191265c.tar.gz
yuzu-d5bc9aef4e63bbc17e3c6c2d2b92cba0c191265c.tar.bz2
yuzu-d5bc9aef4e63bbc17e3c6c2d2b92cba0c191265c.tar.lz
yuzu-d5bc9aef4e63bbc17e3c6c2d2b92cba0c191265c.tar.xz
yuzu-d5bc9aef4e63bbc17e3c6c2d2b92cba0c191265c.tar.zst
yuzu-d5bc9aef4e63bbc17e3c6c2d2b92cba0c191265c.zip
-rw-r--r--src/video_core/renderer_opengl/gl_shader_manager.cpp5
-rw-r--r--src/video_core/renderer_opengl/gl_shader_manager.h1
2 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_manager.cpp b/src/video_core/renderer_opengl/gl_shader_manager.cpp
index 1aa437f76..e81fcbbc4 100644
--- a/src/video_core/renderer_opengl/gl_shader_manager.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_manager.cpp
@@ -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;
diff --git a/src/video_core/renderer_opengl/gl_shader_manager.h b/src/video_core/renderer_opengl/gl_shader_manager.h
index 4295c20a6..e29d551e1 100644
--- a/src/video_core/renderer_opengl/gl_shader_manager.h
+++ b/src/video_core/renderer_opengl/gl_shader_manager.h
@@ -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