Skip to content

Instantly share code, notes, and snippets.

@ChristophHaag
Created May 20, 2018 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChristophHaag/cc5be50b100212f249a98a6c8afadf9d to your computer and use it in GitHub Desktop.
Save ChristophHaag/cc5be50b100212f249a98a6c8afadf9d to your computer and use it in GitHub Desktop.
From fde076bac7c29104c204c871ea893e8649f70003 Mon Sep 17 00:00:00 2001
From: Christoph Haag <haagch@frickel.club>
Date: Sun, 20 May 2018 12:04:54 +0200
Subject: [PATCH] fix
---
vulkanDeviceInfo.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vulkanDeviceInfo.hpp b/vulkanDeviceInfo.hpp
index 46b01ed..6458699 100644
--- a/vulkanDeviceInfo.hpp
+++ b/vulkanDeviceInfo.hpp
@@ -506,7 +506,7 @@ public:
deviceProps2.pNext = &extProps;
pfnGetPhysicalDeviceProperties2KHR(device, &deviceProps2);
properties2.push_back(Property2("maxPerSetDescriptors", QVariant(extProps.maxPerSetDescriptors), extName));
- properties2.push_back(Property2("maxMemoryAllocationSize", QVariant(extProps.maxMemoryAllocationSize), extName));
+ properties2.push_back(Property2("maxMemoryAllocationSize", QVariant::fromValue(extProps.maxMemoryAllocationSize), extName));
}
}
}
--
2.17.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment