mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 12:32:43 +00:00
GLGSRender: Fix always false error condition
This commit is contained in:
parent
529d0dbbbe
commit
538498f21f
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user