Fix a minor build warning (trips MSVC 2015)

This commit is contained in:
manuelk 2016-01-29 08:38:09 -08:00
parent 423d7eff79
commit bb4a110de9

View File

@ -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);