Allow sType to be wrong for VkDeviceQueueCreateInfo for now

* Dota passes 0 (APPLICATION_INFO) - presumably it's init'd with {0}
  and the code doesn't set it properly yet as it's new.
This commit is contained in:
baldurk committed 2016-02-07 18:43:05 +01:00
1 parent b72858b42f
commit 0c55322abf
1 file changed
+1 -1
+1 -1
View File
@@ -2091,7 +2091,7 @@ void Serialiser::Serialise(const char *name, VkDeviceQueueCreateInfo &el)
{
ScopedContext scope(this, name, "VkDeviceQueueCreateInfo", 0, true);
RDCASSERT(m_Mode < WRITING || el.sType == VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO);
//RDCASSERT(m_Mode < WRITING || el.sType == VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO);
Serialise("sType", el.sType);
SerialiseNext(this, el.pNext);