From 660bfeabae852dd0fb2bcffa5224488a5e98be23 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Thu, 24 Jan 2019 01:16:35 +0300 Subject: [PATCH] gl: Fixup - inline arrays --- rpcs3/Emu/RSX/GL/GLVertexBuffers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/GL/GLVertexBuffers.cpp b/rpcs3/Emu/RSX/GL/GLVertexBuffers.cpp index df26a3c81f..947c022a6e 100644 --- a/rpcs3/Emu/RSX/GL/GLVertexBuffers.cpp +++ b/rpcs3/Emu/RSX/GL/GLVertexBuffers.cpp @@ -139,10 +139,10 @@ namespace std::tie(index_count, offset_in_index_buffer) = get_index_array_for_emulated_non_indexed_draw( rsx::method_registers.current_draw_clause.primitive, m_index_ring_buffer, vertex_count); - return{ false, index_count, vertex_count, 0, 0, std::make_tuple(static_cast(GL_UNSIGNED_SHORT), offset_in_index_buffer) }; + return{ false, 0, vertex_count, index_count, 0, std::make_tuple(static_cast(GL_UNSIGNED_SHORT), offset_in_index_buffer) }; } - return{ false, vertex_count, vertex_count, 0, 0, std::optional>() }; + return{ false, 0, vertex_count, vertex_count, 0, std::optional>() }; } private: