diff options
author | bunnei <bunneidev@gmail.com> | 2015-10-13 04:23:26 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-10-22 03:59:44 +0200 |
commit | 0ebcff710e6b5d266158ec364cf08bd8f22ae74a (patch) | |
tree | 6ce8538ed885a8497ca842dab88f94789a483a1c /src/video_core/renderer_opengl/gl_shader_util.cpp | |
parent | gl_rasterizer: Use MMH3 hash for shader cache hey. (diff) | |
download | yuzu-0ebcff710e6b5d266158ec364cf08bd8f22ae74a.tar yuzu-0ebcff710e6b5d266158ec364cf08bd8f22ae74a.tar.gz yuzu-0ebcff710e6b5d266158ec364cf08bd8f22ae74a.tar.bz2 yuzu-0ebcff710e6b5d266158ec364cf08bd8f22ae74a.tar.lz yuzu-0ebcff710e6b5d266158ec364cf08bd8f22ae74a.tar.xz yuzu-0ebcff710e6b5d266158ec364cf08bd8f22ae74a.tar.zst yuzu-0ebcff710e6b5d266158ec364cf08bd8f22ae74a.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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_util.cpp b/src/video_core/renderer_opengl/gl_shader_util.cpp index ce218b857..2fa0ceb3e 100644 --- a/src/video_core/renderer_opengl/gl_shader_util.cpp +++ b/src/video_core/renderer_opengl/gl_shader_util.cpp @@ -68,9 +68,9 @@ GLuint LoadProgram(const char* vertex_shader, const char* fragment_shader) { glBindAttribLocation(program_id, Attributes::ATTRIBUTE_POSITION, "vert_position"); glBindAttribLocation(program_id, Attributes::ATTRIBUTE_COLOR, "vert_color"); - glBindAttribLocation(program_id, Attributes::ATTRIBUTE_TEXCOORDS + 0, "vert_texcoords0"); - glBindAttribLocation(program_id, Attributes::ATTRIBUTE_TEXCOORDS + 1, "vert_texcoords1"); - glBindAttribLocation(program_id, Attributes::ATTRIBUTE_TEXCOORDS + 2, "vert_texcoords2"); + glBindAttribLocation(program_id, Attributes::ATTRIBUTE_TEXCOORDS + 0, "vert_texcoord0"); + glBindAttribLocation(program_id, Attributes::ATTRIBUTE_TEXCOORDS + 1, "vert_texcoord1"); + glBindAttribLocation(program_id, Attributes::ATTRIBUTE_TEXCOORDS + 2, "vert_texcoord2"); glLinkProgram(program_id); |