diff options
author | clayjohn <claynjohn@gmail.com> | 2024-05-15 16:30:19 -0700 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2024-05-15 16:30:19 -0700 |
commit | c84616c2d2ab9c4af8c2020c17bb9c9a2c14a47f (patch) | |
tree | d170c1033facd1fa2d821670c4b0e2d6495d9ada /drivers/gles3/storage/texture_storage.cpp | |
parent | d4f726f3ef21cef3e7936b2c9770cdac6478b8ee (diff) | |
download | redot-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.cpp | 2 |
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); } |