To fix this bug add this line in CMeshCombiner.cpp
to lines 470 and 351
Code: Select all
meshBuffer[x]->recalculateBoundingBox();Code: Select all
meshBuffer[x]->recalculateBoundingBox();in destructor CD3D9Driverhybrid wrote:The problem is actually not the drop(), but something inside the device destructor.
Code: Select all
if(DepthBuffers.size())
DepthBuffers[0]->drop();