Created
May 20, 2018 10:06
-
-
Save ChristophHaag/cc5be50b100212f249a98a6c8afadf9d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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