mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
d6457e9983
commit
7fce5709d4
|
@ -129,7 +129,7 @@ protected:
|
||||||
throw GSDXError();
|
throw GSDXError();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_vertices != NULL && vertices != NULL)
|
if (m_vertices != NULL)
|
||||||
{
|
{
|
||||||
memcpy(vertices, m_vertices, sizeof(Vertex) * m_maxcount);
|
memcpy(vertices, m_vertices, sizeof(Vertex) * m_maxcount);
|
||||||
_aligned_free(m_vertices);
|
_aligned_free(m_vertices);
|
||||||
|
|
|
@ -2306,14 +2306,14 @@ void GSState::GrowVertexBuffer()
|
||||||
throw GSDXError();
|
throw GSDXError();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_vertex.buff != NULL && vertex != NULL)
|
if (m_vertex.buff != NULL)
|
||||||
{
|
{
|
||||||
memcpy(vertex, m_vertex.buff, sizeof(GSVertex) * m_vertex.tail);
|
memcpy(vertex, m_vertex.buff, sizeof(GSVertex) * m_vertex.tail);
|
||||||
|
|
||||||
_aligned_free(m_vertex.buff);
|
_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);
|
memcpy(index, m_index.buff, sizeof(uint32) * m_index.tail);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue