summaryrefslogtreecommitdiffstats
path: root/drivers/gles3/storage/texture_storage.cpp
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2024-05-15 16:30:19 -0700
committerclayjohn <claynjohn@gmail.com>2024-05-15 16:30:19 -0700
commitc84616c2d2ab9c4af8c2020c17bb9c9a2c14a47f (patch)
treed170c1033facd1fa2d821670c4b0e2d6495d9ada /drivers/gles3/storage/texture_storage.cpp
parentd4f726f3ef21cef3e7936b2c9770cdac6478b8ee (diff)
downloadredot-engine-c84616c2d2ab9c4af8c2020c17bb9c9a2c14a47f.tar.gz
Increase coverage of VRAM debugger and add support to RD backends
Diffstat (limited to 'drivers/gles3/storage/texture_storage.cpp')
-rw-r--r--drivers/gles3/storage/texture_storage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/storage/texture_storage.cpp b/drivers/gles3/storage/texture_storage.cpp
index 6f32e4d49d..82513aa609 100644
--- a/drivers/gles3/storage/texture_storage.cpp
+++ b/drivers/gles3/storage/texture_storage.cpp
@@ -1391,7 +1391,7 @@ void TextureStorage::texture_debug_usage(List<RS::TextureInfo> *r_info) {
tinfo.format = t->format;
tinfo.width = t->alloc_width;
tinfo.height = t->alloc_height;
- tinfo.depth = 0;
+ tinfo.depth = t->depth;
tinfo.bytes = t->total_data_size;
r_info->push_back(tinfo);
}