diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-17 22:08:34 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-17 22:08:34 +0200 |
commit | a652e58c54d9f1ceb17bf778ed867ac5dd0d26ed (patch) | |
tree | c3d00fbddc4ace37f2052eeeef9f04160e46c80e | |
parent | Merge pull request #2477 from ReinUsesLisp/fix-sdl2 (diff) | |
download | yuzu-a652e58c54d9f1ceb17bf778ed867ac5dd0d26ed.tar yuzu-a652e58c54d9f1ceb17bf778ed867ac5dd0d26ed.tar.gz yuzu-a652e58c54d9f1ceb17bf778ed867ac5dd0d26ed.tar.bz2 yuzu-a652e58c54d9f1ceb17bf778ed867ac5dd0d26ed.tar.lz yuzu-a652e58c54d9f1ceb17bf778ed867ac5dd0d26ed.tar.xz yuzu-a652e58c54d9f1ceb17bf778ed867ac5dd0d26ed.tar.zst yuzu-a652e58c54d9f1ceb17bf778ed867ac5dd0d26ed.zip |
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 3cc945235..789606e59 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -261,8 +261,8 @@ DrawParameters RasterizerOpenGL::SetupDraw() { // MakeQuadArray always generates u32 indexes params.index_format = GL_UNSIGNED_INT; params.count = (regs.vertex_buffer.count / 4) * 6; - params.index_buffer_offset = - primitive_assembler.MakeQuadArray(regs.vertex_buffer.first, params.count); + params.index_buffer_offset = primitive_assembler.MakeQuadArray( + regs.vertex_buffer.first, regs.vertex_buffer.count); } return params; } |