diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-20 03:57:22 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-03-20 05:07:31 +0100 |
commit | 9c468e0c55abc61cd47c80fb8347ade9db028a27 (patch) | |
tree | d0e88b22d19076f355c6d7117f07411b2089ae89 /src/video_core/renderer_opengl/renderer_opengl.cpp | |
parent | renderer_gl: Port over gl_shader_gen module from Citra. (diff) | |
download | yuzu-9c468e0c55abc61cd47c80fb8347ade9db028a27.tar yuzu-9c468e0c55abc61cd47c80fb8347ade9db028a27.tar.gz yuzu-9c468e0c55abc61cd47c80fb8347ade9db028a27.tar.bz2 yuzu-9c468e0c55abc61cd47c80fb8347ade9db028a27.tar.lz yuzu-9c468e0c55abc61cd47c80fb8347ade9db028a27.tar.xz yuzu-9c468e0c55abc61cd47c80fb8347ade9db028a27.tar.zst yuzu-9c468e0c55abc61cd47c80fb8347ade9db028a27.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index 7f921fa32..65d38ade5 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -318,7 +318,7 @@ void RendererOpenGL::InitOpenGLObjects() { 0.0f); // Link shaders and get variable locations - shader.Create(vertex_shader, fragment_shader); + shader.Create(vertex_shader, nullptr, fragment_shader); state.draw.shader_program = shader.handle; state.Apply(); uniform_modelview_matrix = glGetUniformLocation(shader.handle, "modelview_matrix"); |