Skip to content

Commit

Permalink
Merge branch 'gz-rendering7' into ahcorde/fix/light_ogre
Browse files Browse the repository at this point in the history
  • Loading branch information
ahcorde authored Jun 9, 2023
2 parents 4820fc5 + f192e4f commit 612c35d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ogre2/src/Ogre2GzHlmsSharedPrivate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ namespace gz
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 612c35d

Please sign in to comment.