Tweak element name in Serialise_newDefaultLibrary

buffer -> data
This commit is contained in:
Jake Turner authored and Baldur Karlsson committed 2022-03-25 10:24:22 +00:00
1 parent 6ec18421bb
commit 0d58ae8c2e
1 file changed
+3 -3
+3 -3
View File
@@ -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();