diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-26 22:46:01 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:39 +0200 |
commit | fba6bd92d456b4d472ed37e663006fafeef154a9 (patch) | |
tree | d3b18440b2b0a9483e63ea5c520716291c5f04dc /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | shader: Fix disabled and unwritten attributes and varyings (diff) | |
download | yuzu-fba6bd92d456b4d472ed37e663006fafeef154a9.tar yuzu-fba6bd92d456b4d472ed37e663006fafeef154a9.tar.gz yuzu-fba6bd92d456b4d472ed37e663006fafeef154a9.tar.bz2 yuzu-fba6bd92d456b4d472ed37e663006fafeef154a9.tar.lz yuzu-fba6bd92d456b4d472ed37e663006fafeef154a9.tar.xz yuzu-fba6bd92d456b4d472ed37e663006fafeef154a9.tar.zst yuzu-fba6bd92d456b4d472ed37e663006fafeef154a9.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 0f0d780b5..41d2b73f4 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -97,7 +97,7 @@ void RasterizerOpenGL::SyncVertexFormats() { const auto gl_index = static_cast<GLuint>(index); // Disable constant attributes. - if (attrib.IsConstant()) { + if (attrib.constant) { glDisableVertexAttribArray(gl_index); continue; } |