small fixes

This commit is contained in:
d1str4ught
2025-08-22 20:39:23 +02:00
parent 5b71a1e352
commit 6e42f1af3c
5 changed files with 6 additions and 16 deletions

View File

@@ -61,10 +61,7 @@ bool CGraphicVertexBuffer::Unlock() const
bool CGraphicVertexBuffer::IsEmpty() const
{
if (m_lpd3dVB)
return true;
else
return false;
return m_lpd3dVB == nullptr;
}
bool CGraphicVertexBuffer::LockDynamic(void** pretVertices)