mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Add QByteArray cast for bytebuf
This commit is contained in:
@@ -782,6 +782,7 @@ struct bytebuf : public rdcarray<byte>
|
||||
resize(in.size());
|
||||
memcpy(elems, in.data(), in.size());
|
||||
}
|
||||
operator QByteArray() const { return QByteArray::fromRawData((const char *)elems, usedCount); }
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user