Fixed wrong function call.

This commit is contained in:
Leonardo Zide
2021-03-07 16:07:43 -08:00
parent 4a50ac69a9
commit de3a3adf34
+1 -1
View File
@@ -951,7 +951,7 @@ void lcContext::SetVertexFormat(int BufferOffset, int PositionSize, int NormalSi
}
else if (mNormalEnabled)
{
glDisableClientState(GL_NORMAL_ARRAY);
glDisableVertexAttribArray(LC_ATTRIB_NORMAL);
mNormalEnabled = false;
}