You've already forked godot
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user