You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-29 16:16:38 +00:00
Change RID_Owner::get_owned_list.
This commit is contained in:
@@ -1640,10 +1640,7 @@ void TextureStorage::texture_set_detect_roughness_callback(RID p_texture, RS::Te
|
||||
}
|
||||
|
||||
void TextureStorage::texture_debug_usage(List<RS::TextureInfo> *r_info) {
|
||||
List<RID> textures;
|
||||
texture_owner.get_owned_list(&textures);
|
||||
|
||||
for (const RID &rid : textures) {
|
||||
for (const RID &rid : texture_owner.get_owned_list()) {
|
||||
Texture *t = texture_owner.get_or_null(rid);
|
||||
if (!t) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user