summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-04-28 11:09:20 +0200
committerRémi Verschelde <rverschelde@gmail.com>2021-04-28 11:09:20 +0200
commit35a8693e6ab5a46d2e72e39aa816689de4d371b9 (patch)
tree8010a85710d0e83463294b6d5231b8301bcc4eb2 /modules
parent305b2a15bf1ed950e8e2ed50fa84456b584798fb (diff)
Raycast: Fix use of removed copymem after #48239
Diffstat (limited to 'modules')
-rw-r--r--modules/raycast/raycast_occlusion_cull.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/raycast/raycast_occlusion_cull.cpp b/modules/raycast/raycast_occlusion_cull.cpp
index ea43255eef..66558efa8c 100644
--- a/modules/raycast/raycast_occlusion_cull.cpp
+++ b/modules/raycast/raycast_occlusion_cull.cpp
@@ -334,7 +334,7 @@ void RaycastOcclusionCull::Scenario::_update_dirty_instance(int p_idx, RID *p_in
}
occ_inst->indices.resize(occ->indices.size());
- copymem(occ_inst->indices.ptr(), occ->indices.ptr(), occ->indices.size() * sizeof(int32_t));
+ memcpy(occ_inst->indices.ptr(), occ->indices.ptr(), occ->indices.size() * sizeof(int32_t));
}
void RaycastOcclusionCull::Scenario::_transform_vertices_thread(uint32_t p_thread, TransformThreadData *p_data) {