mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-09-07 16:29:08 +01:00
GPU: Implement offsetted rendering when using non-indexed drawing.
This commit is contained in:
parent
fca3d1cc65
commit
4c59105adf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue