Fix typos and spelling.

This commit is contained in:
Alberto Luaces
2018-04-20 18:18:22 +02:00
committed by Robert Osfield
parent c3008512f1
commit 02c310982e
187 changed files with 302 additions and 302 deletions

View File

@@ -77,7 +77,7 @@ void DrawElementsIndirectUInt::draw(State& state, bool /*useVertexBufferObjects*
state.bindElementBufferObject(ebo);
state.get<GLExtensions>()-> glDrawElementsIndirect(mode, GL_UNSIGNED_INT,
(const GLvoid *)(dibo->getOffset(_indirectCommandArray->getBufferIndex()) //command array adress
(const GLvoid *)(dibo->getOffset(_indirectCommandArray->getBufferIndex()) //command array address
+_firstCommand* _indirectCommandArray->getElementSize())// runtime offset computaion can be sizeof(*_indirectCommandArray->begin())
);
}