GL/RSX: Let backend call LoadVertex themselves.

This commit is contained in:
vlj 2015-06-03 18:49:49 +02:00
parent 4485e6b869
commit 5abeec85cc
2 changed files with 2 additions and 4 deletions

View File

@ -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)
{

View File

@ -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;