mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Add default constructor for MeshFormat
This commit is contained in:
@@ -35,6 +35,25 @@ struct OutputConfig
|
||||
|
||||
struct MeshFormat
|
||||
{
|
||||
MeshFormat()
|
||||
{
|
||||
idxoffs = 0;
|
||||
idxByteWidth = 0;
|
||||
baseVertex = 0;
|
||||
offset = 0;
|
||||
stride = 0;
|
||||
compCount = 0;
|
||||
compByteWidth = 0;
|
||||
compType = eCompType_None;
|
||||
bgraOrder = false;
|
||||
specialFormat = eSpecial_Unknown;
|
||||
showAlpha = false;
|
||||
topo = eTopology_Unknown;
|
||||
numVerts = 0;
|
||||
unproject = false;
|
||||
nearPlane = farPlane = 0.0f;
|
||||
}
|
||||
|
||||
ResourceId idxbuf;
|
||||
uint64_t idxoffs;
|
||||
uint32_t idxByteWidth;
|
||||
|
||||
@@ -2727,7 +2727,7 @@ void ReplayProxy::InitPostVSBuffers(const vector<uint32_t> &events)
|
||||
|
||||
MeshFormat ReplayProxy::GetPostVSBuffers(uint32_t eventID, uint32_t instID, MeshDataStage stage)
|
||||
{
|
||||
MeshFormat ret = {};
|
||||
MeshFormat ret;
|
||||
|
||||
m_ToReplaySerialiser->Serialise("", eventID);
|
||||
m_ToReplaySerialiser->Serialise("", instID);
|
||||
|
||||
Reference in New Issue
Block a user