summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/shader_rd.h
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-09-29 19:08:41 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-09-29 23:58:02 +0200
commitba65730cbf744b19f5f357cb6a0e4e748ea5f9f9 (patch)
treeeb33b974d7e41c07b8ba2c55ae4224feaf52bb52 /servers/rendering/renderer_rd/shader_rd.h
parentf91afeb75d5de14bc4c6250b515eddae1139dec0 (diff)
Rename RID's `getornull()` to `get_or_null()`
Diffstat (limited to 'servers/rendering/renderer_rd/shader_rd.h')
-rw-r--r--servers/rendering/renderer_rd/shader_rd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/shader_rd.h b/servers/rendering/renderer_rd/shader_rd.h
index 529328f0ed..984b168659 100644
--- a/servers/rendering/renderer_rd/shader_rd.h
+++ b/servers/rendering/renderer_rd/shader_rd.h
@@ -141,7 +141,7 @@ public:
ERR_FAIL_INDEX_V(p_variant, variant_defines.size(), RID());
ERR_FAIL_COND_V(!variants_enabled[p_variant], RID());
- Version *version = version_owner.getornull(p_version);
+ Version *version = version_owner.get_or_null(p_version);
ERR_FAIL_COND_V(!version, RID());
if (version->dirty) {