mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-03 05:31:12 +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;
|
||||
}
|
||||
|
||||
int size = GetNumElements() * numVertices * sizeof(float);
|
||||
unsigned int size = GetNumElements() * numVertices * sizeof(float);
|
||||
|
||||
memcpy((float*)resource.pData + startVertex * _numElements, src, size);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user