Fix crash on proxy serialising

This commit is contained in:
baldurk
2015-02-11 15:12:49 +00:00
parent 424f5ab964
commit be65a45f23
+13 -2
View File
@@ -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