Fix threaded update for textures

* Previews and other stuff now works again.
* Not the best solution, will have to be improved in the future usinc async queues where supported.
This commit is contained in:
reduz
2021-07-07 18:06:06 -03:00
parent 56d7126864
commit 24efb13f7e
3 changed files with 10 additions and 7 deletions

View File

@ -1602,8 +1602,6 @@ void RendererStorageRD::material_set_param(RID p_material, const StringName &p_p
} else {
_material_queue_update(material, true, true);
}
print_line("set parameter: " + String(p_param));
}
Variant RendererStorageRD::material_get_param(RID p_material, const StringName &p_param) const {