Skip to content

Commit

Permalink
Improved doc
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
  • Loading branch information
ahcorde committed Jun 9, 2023
1 parent 2c52597 commit 3826e05
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ogre2/src/Ogre2GzHlmsSharedPrivate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,12 @@ namespace gz
float *Ogre2GzHlmsShared::MapObjectDataBufferFor(
uint32_t _instanceIdx, Ogre::CommandBuffer *_commandBuffer,
Ogre::VaoManager *_vaoManager, const ConstBufferPackedVec &_constBuffers,
uint32_t _currConstBufferIdx, uint32_t */*_startMappedConstBuffer*/,
uint32_t _currConstBufferIdx, uint32_t *_startMappedConstBuffer,
uint16_t _perObjectDataBufferSlot)
{
// This argument is used only in the MACRO, and it generating a warning.
// This should void the warning
(void)_startMappedConstBuffer;
const uint32_t numFloatsPerObject = 4u;

if (!this->currPerObjectDataBuffer ||
Expand Down

0 comments on commit 3826e05

Please sign in to comment.