diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-29 05:28:53 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:56:42 +0100 |
commit | 758ad3f75d49be811237c297265038f80c16ee8c (patch) | |
tree | 71f3fd600b58f241f8caa9e09caf6ed9a630c693 /src/video_core/renderer_opengl/renderer_opengl.cpp | |
parent | maxwell_3d: Change write dirty flags to a bitset (diff) | |
download | yuzu-758ad3f75d49be811237c297265038f80c16ee8c.tar yuzu-758ad3f75d49be811237c297265038f80c16ee8c.tar.gz yuzu-758ad3f75d49be811237c297265038f80c16ee8c.tar.bz2 yuzu-758ad3f75d49be811237c297265038f80c16ee8c.tar.lz yuzu-758ad3f75d49be811237c297265038f80c16ee8c.tar.xz yuzu-758ad3f75d49be811237c297265038f80c16ee8c.tar.zst yuzu-758ad3f75d49be811237c297265038f80c16ee8c.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/renderer_opengl.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index caa193c50..cbe916488 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -611,6 +611,8 @@ void RendererOpenGL::DrawScreen(const Layout::FramebufferLayout& layout) { glEnableVertexAttribArray(PositionLocation); glEnableVertexAttribArray(TexCoordLocation); + glVertexAttribDivisor(PositionLocation, 0); + glVertexAttribDivisor(TexCoordLocation, 0); glVertexAttribFormat(PositionLocation, 2, GL_FLOAT, GL_FALSE, offsetof(ScreenRectVertex, position)); glVertexAttribFormat(TexCoordLocation, 2, GL_FLOAT, GL_FALSE, |