corrected fatal bug in rayintersectmeshes

This commit is contained in:
turanszkij
2017-05-01 01:43:15 +02:00
parent b66dc24889
commit 8563d40505
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5275,7 +5275,7 @@ void wiRenderer::RayIntersectMeshes(const RAY& ray, const CulledList& culledObje
if (mesh->vertices[VPROP_POS].size() >= _arraySize)
{
_mm_free(_vertices);
_arraySize *= 2;
_arraySize = mesh->vertices[VPROP_POS].size();
_vertices = (XMVECTOR*)_mm_malloc(sizeof(XMVECTOR)*_arraySize, 16);
}
+1 -1
View File
@@ -7,7 +7,7 @@ namespace wiVersion
// minor features, major updates
const int minor = 11;
// minor bug fixes, alterations, refactors, updates
const int revision = 37;
const int revision = 38;
long GetVersion()