Skip to content

Commit

Permalink
getMemoryStats was reporting used staging texture bytes as available,…
Browse files Browse the repository at this point in the history
… and vice versa
  • Loading branch information
jwwalker committed Dec 17, 2024
1 parent 3176e0d commit 6eb9070
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OgreMain/src/OgreTextureGpuManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1164,8 +1164,8 @@ namespace Ogre
size_t &outUsedStagingTextureBytes,
size_t &outAvailableStagingTextureBytes )
{
outUsedStagingTextureBytes = getConsumedMemoryByStagingTextures( mAvailableStagingTextures );
outAvailableStagingTextureBytes = getConsumedMemoryByStagingTextures( mUsedStagingTextures );
outAvailableStagingTextureBytes = getConsumedMemoryByStagingTextures( mAvailableStagingTextures );
outUsedStagingTextureBytes = getConsumedMemoryByStagingTextures( mUsedStagingTextures );

size_t textureBytesCpu = 0;
size_t textureBytesGpu = 0;
Expand Down

0 comments on commit 6eb9070

Please sign in to comment.