Don't error in RenderingServerRaster::free() if the supplied RID is just invalid.

This commit is contained in:
Relintai 2024-05-11 19:32:46 +02:00
parent d59353d48e
commit f92fd3374b

View File

@ -67,7 +67,6 @@ void RenderingServerRaster::_draw_margins() {
void RenderingServerRaster::free(RID p_rid) {
if (!p_rid.is_valid()) {
ERR_FAIL_MSG("Invalid RID.");
return;
}