diff options
author | Subv <subv2112@gmail.com> | 2018-07-02 18:23:36 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-07-02 18:23:36 +0200 |
commit | 4c59105adf8dc5171f3c7388b6b0db3cd0ee57ba (patch) | |
tree | 74eb19beb4ca8281ce5cca0fe3582a1a3d12c19f /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | GPU: Fixed the index offset rendering, and implemented the base vertex functionality. (diff) | |
download | yuzu-4c59105adf8dc5171f3c7388b6b0db3cd0ee57ba.tar yuzu-4c59105adf8dc5171f3c7388b6b0db3cd0ee57ba.tar.gz yuzu-4c59105adf8dc5171f3c7388b6b0db3cd0ee57ba.tar.bz2 yuzu-4c59105adf8dc5171f3c7388b6b0db3cd0ee57ba.tar.lz yuzu-4c59105adf8dc5171f3c7388b6b0db3cd0ee57ba.tar.xz yuzu-4c59105adf8dc5171f3c7388b6b0db3cd0ee57ba.tar.zst yuzu-4c59105adf8dc5171f3c7388b6b0db3cd0ee57ba.zip |
Diffstat (limited to '')
-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 fe78f4226..b10a860a6 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -421,7 +421,7 @@ void RasterizerOpenGL::DrawArrays() { MaxwellToGL::IndexFormat(regs.index_array.format), reinterpret_cast<const void*>(index_buffer_offset), base_vertex); } else { - glDrawArrays(primitive_mode, 0, regs.vertex_buffer.count); + glDrawArrays(primitive_mode, regs.vertex_buffer.first, regs.vertex_buffer.count); } // Disable scissor test |