mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-10 01:27:15 +00:00
Add notion of UI modifications to a capture, saved in .rdc sections
This commit is contained in:
@@ -597,4 +597,11 @@ struct bytebuf : public rdcarray<byte>
|
||||
{
|
||||
bytebuf() : rdcarray<byte>() {}
|
||||
bytebuf(const std::vector<byte> &in) : rdcarray<byte>(in) {}
|
||||
#if defined(RENDERDOC_QT_COMPAT)
|
||||
bytebuf(const QByteArray &in)
|
||||
{
|
||||
resize(in.size());
|
||||
memcpy(elems, in.data(), in.size());
|
||||
}
|
||||
#endif
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user