Fixed typo

This commit is contained in:
Lynix 2012-06-22 09:57:24 +02:00
parent 8e04e71c14
commit acc9b99ad2
1 changed files with 2 additions and 2 deletions

View File

@ -235,14 +235,14 @@ bool NzHardwareBuffer::Unmap()
glBufferData(bufferTarget[m_type], m_parent->GetSize(), nullptr, bufferUsage[m_parent->GetStorage()]); glBufferData(bufferTarget[m_type], m_parent->GetSize(), nullptr, bufferUsage[m_parent->GetStorage()]);
// Inutile de rebinder s'il n'y avait aucun buffer (Optimise les opérrations chaînées) // Inutile de rebinder s'il n'y avait aucun buffer (Optimise les opérations chaînées)
if (previous != m_buffer && previous != 0) if (previous != m_buffer && previous != 0)
glBindBuffer(bufferTarget[m_type], previous); glBindBuffer(bufferTarget[m_type], previous);
return false; return false;
} }
// Inutile de rebinder s'il n'y avait aucun buffer (Optimise les opérrations chaînées) // Inutile de rebinder s'il n'y avait aucun buffer (Optimise les opérations chaînées)
if (previous != m_buffer && previous != 0) if (previous != m_buffer && previous != 0)
glBindBuffer(bufferTarget[m_type], previous); glBindBuffer(bufferTarget[m_type], previous);