mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Rename server "free" functions to "free_rid" to match exposed API
This commit is contained in:
@@ -152,6 +152,6 @@ CameraTexture::CameraTexture() {
|
||||
CameraTexture::~CameraTexture() {
|
||||
if (_texture.is_valid()) {
|
||||
ERR_FAIL_NULL(RenderingServer::get_singleton());
|
||||
RenderingServer::get_singleton()->free(_texture);
|
||||
RenderingServer::get_singleton()->free_rid(_texture);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user