Added errorchecking and more flexibility the the new acDeviceLoadScalarArray function

This commit is contained in:
jpekkila
2019-09-05 19:56:04 +03:00
parent 71695b7c12
commit 53230c9b61
2 changed files with 9 additions and 4 deletions

View File

@@ -63,8 +63,8 @@ AcResult acDeviceLoadInt3Constant(const Device device, const Stream stream, cons
/** */
AcResult acDeviceLoadScalarArray(const Device device, const Stream stream,
const ScalarArrayHandle handle, const AcReal* data,
const size_t num);
const ScalarArrayHandle handle, const size_t start,
const AcReal* data, const size_t num);
/** */
AcResult acDeviceLoadMeshInfo(const Device device, const Stream stream,