diff --git a/src/core/device.cu b/src/core/device.cu index 3979c5b..2098cc7 100644 --- a/src/core/device.cu +++ b/src/core/device.cu @@ -516,6 +516,7 @@ AcResult acDeviceLoadMeshWithOffset(const Device device, const Stream stream, const AcMesh host_mesh, const int3 src, const int3 dst, const int num_vertices) { + WARNING("This function is deprecated"); for (int i = 0; i < NUM_VTXBUF_HANDLES; ++i) { acDeviceLoadVertexBufferWithOffset(device, stream, host_mesh, (VertexBufferHandle)i, src, dst, num_vertices); @@ -596,7 +597,6 @@ acDeviceStoreVertexBuffer(const Device device, const Stream stream, AcResult acDeviceStoreMesh(const Device device, const Stream stream, AcMesh* host_mesh) { - WARNING("This function is deprecated"); for (int i = 0; i < NUM_VTXBUF_HANDLES; ++i) { acDeviceStoreVertexBuffer(device, stream, (VertexBufferHandle)i, host_mesh); }