Minor fixes

This commit is contained in:
SirLynix
2022-04-04 08:17:03 +02:00
parent 83de0939bb
commit 66ff6cfa81
10 changed files with 12 additions and 15 deletions

View File

@@ -29,7 +29,7 @@ namespace Nz
{
const OpenGLBuffer& glBuffer = static_cast<const OpenGLBuffer&>(indexBuffer);
m_commandBuffer.BindIndexBuffer(glBuffer.GetBuffer().GetObjectId());
m_commandBuffer.BindIndexBuffer(glBuffer.GetBuffer().GetObjectId(), offset);
}
void OpenGLCommandBufferBuilder::BindPipeline(const RenderPipeline& pipeline)