Undeprecated the wrong function in commit b693c8a
This commit is contained in:
@@ -516,6 +516,7 @@ AcResult
|
|||||||
acDeviceLoadMeshWithOffset(const Device device, const Stream stream, const AcMesh host_mesh,
|
acDeviceLoadMeshWithOffset(const Device device, const Stream stream, const AcMesh host_mesh,
|
||||||
const int3 src, const int3 dst, const int num_vertices)
|
const int3 src, const int3 dst, const int num_vertices)
|
||||||
{
|
{
|
||||||
|
WARNING("This function is deprecated");
|
||||||
for (int i = 0; i < NUM_VTXBUF_HANDLES; ++i) {
|
for (int i = 0; i < NUM_VTXBUF_HANDLES; ++i) {
|
||||||
acDeviceLoadVertexBufferWithOffset(device, stream, host_mesh, (VertexBufferHandle)i, src,
|
acDeviceLoadVertexBufferWithOffset(device, stream, host_mesh, (VertexBufferHandle)i, src,
|
||||||
dst, num_vertices);
|
dst, num_vertices);
|
||||||
@@ -596,7 +597,6 @@ acDeviceStoreVertexBuffer(const Device device, const Stream stream,
|
|||||||
AcResult
|
AcResult
|
||||||
acDeviceStoreMesh(const Device device, const Stream stream, AcMesh* host_mesh)
|
acDeviceStoreMesh(const Device device, const Stream stream, AcMesh* host_mesh)
|
||||||
{
|
{
|
||||||
WARNING("This function is deprecated");
|
|
||||||
for (int i = 0; i < NUM_VTXBUF_HANDLES; ++i) {
|
for (int i = 0; i < NUM_VTXBUF_HANDLES; ++i) {
|
||||||
acDeviceStoreVertexBuffer(device, stream, (VertexBufferHandle)i, host_mesh);
|
acDeviceStoreVertexBuffer(device, stream, (VertexBufferHandle)i, host_mesh);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user