mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-05 06:21:07 +00:00
Fix a minor build warning (trips MSVC 2015)
This commit is contained in:
parent
423d7eff79
commit
bb4a110de9
@ -75,7 +75,7 @@ D3D11VertexBuffer::UpdateData(const float *src, int startVertex, int numVertices
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
int size = GetNumElements() * numVertices * sizeof(float);
|
unsigned int size = GetNumElements() * numVertices * sizeof(float);
|
||||||
|
|
||||||
memcpy((float*)resource.pData + startVertex * _numElements, src, size);
|
memcpy((float*)resource.pData + startVertex * _numElements, src, size);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user