Raycast: Fix use of removed copymem after #48239
This commit is contained in:
parent
305b2a15bf
commit
35a8693e6a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue