From 688b5f42e9bfe498d7af7075d4d8f4429867f3a3 Mon Sep 17 00:00:00 2001 From: Miles Macklin Date: Fri, 9 Jun 2017 13:41:15 +1200 Subject: 1.2.0.beta.1 --- extensions/dx/flexExt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/dx/flexExt.cpp') diff --git a/extensions/dx/flexExt.cpp b/extensions/dx/flexExt.cpp index 4dcc0e4..2b340cc 100644 --- a/extensions/dx/flexExt.cpp +++ b/extensions/dx/flexExt.cpp @@ -175,7 +175,7 @@ void NvFlexExtSetForceFields(NvFlexExtForceFieldCallback* c, const NvFlexExtForc if (numForceFields > 0) { // update staging buffer - void* dstPtr = c->mContext->mapUpload(c->mForceFieldsGpu); + void* dstPtr = c->mContext->map(c->mForceFieldsGpu, NvFlex::eMapWrite); memcpy(dstPtr, forceFields, numForceFields*sizeof(NvFlexExtForceField)); c->mContext->unmap(c->mForceFieldsGpu); -- cgit v1.2.3