mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix crash on proxy serialising
This commit is contained in:
@@ -783,6 +783,19 @@ void Serialiser::Serialise(const char *name, FetchDrawcall &el)
|
||||
SIZE_CHECK(FetchDrawcall, 168);
|
||||
}
|
||||
|
||||
template<>
|
||||
void Serialiser::Serialise(const char *name, FetchFrameInfo &el)
|
||||
{
|
||||
Serialise("", el.frameNumber);
|
||||
Serialise("", el.firstEvent);
|
||||
Serialise("", el.fileOffset);
|
||||
Serialise("", el.captureTime);
|
||||
Serialise("", el.immContextId);
|
||||
Serialise("", el.debugMessages);
|
||||
|
||||
SIZE_CHECK(FetchFrameInfo, 40);
|
||||
}
|
||||
|
||||
template<>
|
||||
void Serialiser::Serialise(const char *name, FetchFrameRecord &el)
|
||||
{
|
||||
@@ -930,8 +943,6 @@ string ToStrHelper<false, EventUsage>::Get(const EventUsage &el) { return "<...>
|
||||
template<>
|
||||
string ToStrHelper<false, CounterResult>::Get(const CounterResult &el) { return "<...>"; }
|
||||
template<>
|
||||
string ToStrHelper<false, FetchFrameInfo>::Get(const FetchFrameInfo &el) { return "<...>"; }
|
||||
template<>
|
||||
string ToStrHelper<false, ReplayLogType>::Get(const ReplayLogType &el) { return "<...>"; }
|
||||
|
||||
#pragma endregion Plain-old data structures
|
||||
|
||||
Reference in New Issue
Block a user