Enable 'debug text' and set chunk lookup on flattened serialiser

This commit is contained in:
baldurk
2016-09-05 17:59:38 +02:00
parent b36475cf9c
commit aa55426cbb
+3
View File
@@ -1350,6 +1350,9 @@ void WrappedID3D11DeviceContext::FlattenLog()
m_pSerialiser = new Serialiser(dst->GetSize(), dst->GetRawPtr(0), false);
m_OwnSerialiser = true;
m_pSerialiser->SetDebugText(true);
m_pSerialiser->SetChunkNameLookup(&WrappedID3D11Device::GetChunkName);
// tidy up the temporary serialisers
SAFE_DELETE(dst);
SAFE_DELETE(tmp);