mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Tweak element name in Serialise_newDefaultLibrary
buffer -> data
This commit is contained in:
committed by
Baldur Karlsson
parent
6ec18421bb
commit
0d58ae8c2e
@@ -92,15 +92,15 @@ WrappedMTLCommandQueue *WrappedMTLDevice::newCommandQueue()
|
||||
template <typename SerialiserType>
|
||||
bool WrappedMTLDevice::Serialise_newDefaultLibrary(SerialiserType &ser, WrappedMTLLibrary *library)
|
||||
{
|
||||
bytebuf buffer;
|
||||
bytebuf data;
|
||||
if(ser.IsWriting())
|
||||
{
|
||||
ObjC::Get_defaultLibraryData(buffer);
|
||||
ObjC::Get_defaultLibraryData(data);
|
||||
}
|
||||
|
||||
SERIALISE_ELEMENT_LOCAL(Device, this);
|
||||
SERIALISE_ELEMENT_LOCAL(Library, GetResID(library)).TypedAs("MTLLibrary"_lit);
|
||||
SERIALISE_ELEMENT(buffer);
|
||||
SERIALISE_ELEMENT(data);
|
||||
|
||||
SERIALISE_CHECK_READ_ERRORS();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user