diff options
author | Patrick Elsässer <paddy334@web.de> | 2018-09-09 17:51:43 +0200 |
---|---|---|
committer | Patrick Elsässer <paddy334@web.de> | 2018-09-09 17:51:43 +0200 |
commit | 64e45b04e0eba71ffef6b8776b50026a26325ae7 (patch) | |
tree | ac5f630e88eceff68561678723e8717117a29bc0 /src/video_core/renderer_opengl/gl_shader_util.cpp | |
parent | Merge pull request #1277 from jroweboy/update-xbyak (diff) | |
download | yuzu-64e45b04e0eba71ffef6b8776b50026a26325ae7.tar yuzu-64e45b04e0eba71ffef6b8776b50026a26325ae7.tar.gz yuzu-64e45b04e0eba71ffef6b8776b50026a26325ae7.tar.bz2 yuzu-64e45b04e0eba71ffef6b8776b50026a26325ae7.tar.lz yuzu-64e45b04e0eba71ffef6b8776b50026a26325ae7.tar.xz yuzu-64e45b04e0eba71ffef6b8776b50026a26325ae7.tar.zst yuzu-64e45b04e0eba71ffef6b8776b50026a26325ae7.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_util.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_util.cpp b/src/video_core/renderer_opengl/gl_shader_util.cpp index 5781d9d16..5f3fe067e 100644 --- a/src/video_core/renderer_opengl/gl_shader_util.cpp +++ b/src/video_core/renderer_opengl/gl_shader_util.cpp @@ -25,7 +25,7 @@ GLuint LoadShader(const char* source, GLenum type) { default: UNREACHABLE(); } - GLuint shader_id = glCreateShader(type); + const GLuint shader_id = glCreateShader(type); glShaderSource(shader_id, 1, &source, nullptr); LOG_DEBUG(Render_OpenGL, "Compiling {} shader...", debug_type); glCompileShader(shader_id); |