I’ve recently discovered the invaluable:
[lua]local memoryUsed = function()
print("Texture memory used: " … system.getInfo(“textureMemoryUsed”))
end
memoryUsed();[/lua]
But wanted to ask something about it.
If I load a 64kb sprite sheet, I get:
Texture memory used: 524288
524288 / 1000 = 524kb ( think I’ve got that right)
Why does a 64kb sprite sheet balloon to 524kb?
Thanks
Tom
[import]uid: 55068 topic_id: 10973 reply_id: 310973[/import]
