mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Fixed incorrect sType assertion
This affects serialization of vkImportMemoryWin32HandleInfoKHR
This commit is contained in:
committed by
Baldur Karlsson
parent
52801a99a6
commit
a56aa9ed21
@@ -11838,7 +11838,7 @@ void Deserialise(const VkExportMemoryWin32HandleInfoNV &el)
|
||||
template <typename SerialiserType>
|
||||
void DoSerialise(SerialiserType &ser, VkImportMemoryWin32HandleInfoKHR &el)
|
||||
{
|
||||
RDCASSERT(ser.IsReading() || el.sType == VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR);
|
||||
RDCASSERT(ser.IsReading() || el.sType == VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR);
|
||||
SerialiseNext(ser, el.sType, el.pNext);
|
||||
|
||||
SERIALISE_MEMBER(handleType);
|
||||
|
||||
Reference in New Issue
Block a user