Skip to content

Commit

Permalink
gl: Fixup - inline arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
kd-11 committed Jan 25, 2019
1 parent fa9b448 commit 660bfea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpcs3/Emu/RSX/GL/GLVertexBuffers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<GLenum>(GL_UNSIGNED_SHORT), offset_in_index_buffer) };
return{ false, 0, vertex_count, index_count, 0, std::make_tuple(static_cast<GLenum>(GL_UNSIGNED_SHORT), offset_in_index_buffer) };
}

return{ false, vertex_count, vertex_count, 0, 0, std::optional<std::tuple<GLenum, u32>>() };
return{ false, 0, vertex_count, vertex_count, 0, std::optional<std::tuple<GLenum, u32>>() };
}

private:
Expand Down

0 comments on commit 660bfea

Please sign in to comment.