Updated comments

Former-commit-id: 66e035deb3f7f549257f5b04c327396b88c94363
This commit is contained in:
Lynix
2014-04-20 22:30:55 +02:00
parent ae316394f9
commit c45e22ff7d
2 changed files with 9 additions and 6 deletions

View File

@@ -69,7 +69,6 @@ void NzVertexDeclaration::DisableAttribute(nzAttributeUsage usage)
#endif
Attribute& attribute = m_attributes[usage];
if (attribute.enabled)
{
attribute.enabled = false;
@@ -88,7 +87,6 @@ void NzVertexDeclaration::EnableAttribute(nzAttributeUsage usage, nzAttributeTyp
#endif
Attribute& attribute = m_attributes[usage];
if (attribute.enabled)
m_stride -= attributeStride[attribute.type];
else
@@ -200,6 +198,7 @@ bool NzVertexDeclaration::Initialize()
void NzVertexDeclaration::Uninitialize()
{
// Rien à faire
}
NzVertexDeclaration NzVertexDeclaration::s_declarations[nzVertexLayout_Max+1];