Updated comments
Former-commit-id: 66e035deb3f7f549257f5b04c327396b88c94363
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user