corrected fatal bug in rayintersectmeshes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user