mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
GLGSRender: Fix always false error condition
This commit is contained in:
parent
529d0dbbbe
commit
538498f21f
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ void GLGSRender::EnableVertexData(bool indexed_draw)
|
||||||
GL_FALSE,
|
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);
|
LOG_ERROR(RSX, "GLGSRender::EnableVertexData: Bad vertex data type (%d)!", m_vertex_data[i].type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue