mirror of https://github.com/godotengine/godot
Fix empty RIDs in VisualServer.texture_debug_usage()
This commit is contained in:
parent
f30d827448
commit
bb36823589
|
|
@ -1117,6 +1117,7 @@ void RasterizerStorageGLES2::texture_debug_usage(List<VS::TextureInfo> *r_info)
|
||||||
if (!t)
|
if (!t)
|
||||||
continue;
|
continue;
|
||||||
VS::TextureInfo tinfo;
|
VS::TextureInfo tinfo;
|
||||||
|
tinfo.texture = E->get();
|
||||||
tinfo.path = t->path;
|
tinfo.path = t->path;
|
||||||
tinfo.format = t->format;
|
tinfo.format = t->format;
|
||||||
tinfo.width = t->alloc_width;
|
tinfo.width = t->alloc_width;
|
||||||
|
|
|
||||||
|
|
@ -1564,6 +1564,7 @@ void RasterizerStorageGLES3::texture_debug_usage(List<VS::TextureInfo> *r_info)
|
||||||
if (!t)
|
if (!t)
|
||||||
continue;
|
continue;
|
||||||
VS::TextureInfo tinfo;
|
VS::TextureInfo tinfo;
|
||||||
|
tinfo.texture = E->get();
|
||||||
tinfo.path = t->path;
|
tinfo.path = t->path;
|
||||||
tinfo.format = t->format;
|
tinfo.format = t->format;
|
||||||
tinfo.width = t->alloc_width;
|
tinfo.width = t->alloc_width;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue