1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Clarify invalid RID errors in Server free() functions.

This commit is contained in:
Cory Petkovsek
2022-08-11 02:20:45 +08:00
parent 850c5ccccf
commit d7ba3b73a9
5 changed files with 10 additions and 10 deletions

View File

@@ -66,7 +66,7 @@ void VisualServerRaster::_draw_margins() {
void VisualServerRaster::free(RID p_rid) {
if (!p_rid.is_valid()) {
ERR_FAIL_MSG("Invalid RID.");
ERR_FAIL_MSG("VisualServer attempted to free a NULL RID.");
return;
}
@@ -86,7 +86,7 @@ void VisualServerRaster::free(RID p_rid) {
return;
}
ERR_FAIL_MSG("Invalid RID.");
ERR_FAIL_MSG("RID not found by VisualServer.");
}
/* EVENT QUEUING */