mirror of https://github.com/axmolengine/axmol.git
Use %d for int32_t
This commit is contained in:
parent
ab2aa26242
commit
ea4b212d1f
|
@ -652,7 +652,7 @@ std::string TextureCache::getCachedTextureInfo() const
|
||||||
auto bytes = tex->getPixelsWide() * tex->getPixelsHigh() * bpp / 8;
|
auto bytes = tex->getPixelsWide() * tex->getPixelsHigh() * bpp / 8;
|
||||||
totalBytes += bytes;
|
totalBytes += bytes;
|
||||||
count++;
|
count++;
|
||||||
snprintf(buftmp, sizeof(buftmp) - 1, "\"%s\" rc=%u id=%p %u x %u @ %d bpp => %u KB\n",
|
snprintf(buftmp, sizeof(buftmp) - 1, "\"%s\" rc=%d id=%p %d x %d @ %d bpp => %d KB\n",
|
||||||
texture.first.c_str(),
|
texture.first.c_str(),
|
||||||
(int32_t)tex->getReferenceCount(),
|
(int32_t)tex->getReferenceCount(),
|
||||||
tex->getBackendTexture(),
|
tex->getBackendTexture(),
|
||||||
|
|
Loading…
Reference in New Issue