GSDX: Forgot to remove a bit of cruft in the last rev.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5833 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
sudonim1@gmail.com 2014-01-25 19:17:00 +00:00
parent d6457e9983
commit 7fce5709d4
2 changed files with 3 additions and 3 deletions

View File

@ -129,7 +129,7 @@ protected:
throw GSDXError();
}
if (m_vertices != NULL && vertices != NULL)
if (m_vertices != NULL)
{
memcpy(vertices, m_vertices, sizeof(Vertex) * m_maxcount);
_aligned_free(m_vertices);

View File

@ -2306,14 +2306,14 @@ void GSState::GrowVertexBuffer()
throw GSDXError();
}
if (m_vertex.buff != NULL && vertex != NULL)
if (m_vertex.buff != NULL)
{
memcpy(vertex, m_vertex.buff, sizeof(GSVertex) * m_vertex.tail);
_aligned_free(m_vertex.buff);
}
if (m_index.buff != NULL && index != NULL)
if (m_index.buff != NULL)
{
memcpy(index, m_index.buff, sizeof(uint32) * m_index.tail);