GLGSRender: Fix always false error condition

This commit is contained in:
Lioncash 2014-08-19 02:48:11 -04:00
parent 529d0dbbbe
commit 538498f21f

View File

@ -203,7 +203,7 @@ void GLGSRender::EnableVertexData(bool indexed_draw)
GL_FALSE,
};
if (m_vertex_data[i].type < 1 && m_vertex_data[i].type > 7) {
if (m_vertex_data[i].type < 1 || m_vertex_data[i].type > 7) {
LOG_ERROR(RSX, "GLGSRender::EnableVertexData: Bad vertex data type (%d)!", m_vertex_data[i].type);
}