mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-06 00:40:11 +00:00
GL/RSX: Let backend call LoadVertex themselves.
This commit is contained in:
parent
4485e6b869
commit
5abeec85cc
@ -1966,9 +1966,9 @@ void GLGSRender::ExecCMD()
|
||||
m_vao.Bind();
|
||||
|
||||
if (m_indexed_array.m_count)
|
||||
{
|
||||
LoadVertexData(m_indexed_array.index_min, m_indexed_array.index_max - m_indexed_array.index_min + 1);
|
||||
}
|
||||
else
|
||||
LoadVertexData(m_draw_array_first, m_draw_array_count);
|
||||
|
||||
if (m_indexed_array.m_count || m_draw_array_count)
|
||||
{
|
||||
|
@ -907,8 +907,6 @@ void RSXThread::DoCmd(const u32 fcmd, const u32 cmd, const u32 args_addr, const
|
||||
|
||||
//LOG_WARNING(RSX, "NV4097_DRAW_ARRAYS: %d - %d", first, _count);
|
||||
|
||||
LoadVertexData(first, _count);
|
||||
|
||||
if (first < m_draw_array_first)
|
||||
{
|
||||
m_draw_array_first = first;
|
||||
|
Loading…
x
Reference in New Issue
Block a user