mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 20:15:27 +00: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,
|
||||
};
|
||||
|
||||
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…
Add table
Reference in a new issue