diff --git a/common/lc_context.cpp b/common/lc_context.cpp index bd212f22..a2b9e81b 100644 --- a/common/lc_context.cpp +++ b/common/lc_context.cpp @@ -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; }