mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-13 18:21:01 +00:00
Fix up the replay proxy serialising functions
* Also add some compile time asserts to try and help keep them working.
This commit is contained in:
@@ -1038,6 +1038,16 @@ string ToStrHelper<false, void *>::Get(void* const &el)
|
||||
return tostrBuf;
|
||||
}
|
||||
|
||||
template<>
|
||||
string ToStrHelper<false, int64_t>::Get(const int64_t &el)
|
||||
{
|
||||
char tostrBuf[256] = {0};
|
||||
|
||||
StringFormat::snprintf(tostrBuf, 255, "%lld", el);
|
||||
|
||||
return tostrBuf;
|
||||
}
|
||||
|
||||
template<>
|
||||
string ToStrHelper<false, uint64_t>::Get(const uint64_t &el)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user