1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

Clean up RenderingServer and its bindings

* Rewrote bindings for RenderingServer.
* They are now all up to date.
* Several unused methods and deprecated features were cleaned up.
This commit is contained in:
reduz
2021-06-30 23:17:47 -03:00
parent 5710adda72
commit 37776b2867
34 changed files with 3020 additions and 900 deletions

View File

@@ -185,7 +185,7 @@ RID RendererSceneOcclusionCull::HZBuffer::get_debug_texture() {
if (debug_texture.is_null()) {
debug_texture = RS::get_singleton()->texture_2d_create(debug_image);
} else {
RenderingServer::get_singleton()->texture_2d_update_immediate(debug_texture, debug_image);
RenderingServer::get_singleton()->texture_2d_update(debug_texture, debug_image);
}
return debug_texture;