Fix negative VRAM values

This commit is contained in:
Ev1lbl0w 2021-03-05 21:48:11 +00:00
parent 3ff56719fc
commit 1f0b60c47d
No known key found for this signature in database
GPG key ID: B383693E3746E58A
8 changed files with 8 additions and 8 deletions

View file

@ -343,7 +343,7 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da
DebuggerMarshalls::ResourceUsage usage;
usage.deserialize(p_data);
int total = 0;
uint64_t total = 0;
for (List<DebuggerMarshalls::ResourceInfo>::Element *E = usage.infos.front(); E; E = E->next()) {
TreeItem *it = vmem_tree->create_item(root);