diff options
| author | Tobin Ehlis <tobine@google.com> | 2018-04-17 10:06:48 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2018-04-18 06:25:36 -0600 |
| commit | 9e187e93e9b74eae1a1f4797d8f4ca8280edd42b (patch) | |
| tree | 28d4286a5c97ef8432b5bdba75144da4835b945e | |
| parent | 1c73d7358492c541dabbdefb83158500f969b2dd (diff) | |
| download | usermoji-9e187e93e9b74eae1a1f4797d8f4ca8280edd42b.tar.xz | |
demos:Add const to fix build warning
Explicit "const" for ppEnabledExtensionNames to fix build warning.
fixup
| -rw-r--r-- | demos/vulkaninfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/vulkaninfo.c b/demos/vulkaninfo.c index 496486a7..c4c51924 100644 --- a/demos/vulkaninfo.c +++ b/demos/vulkaninfo.c @@ -2951,7 +2951,7 @@ static void AppGroupDump(const VkPhysicalDeviceGroupProperties *group, const uin } // Build create info for logical device made from all physical devices in this group. - char *extensions_list = VK_KHR_DEVICE_GROUP_EXTENSION_NAME; + const char *extensions_list = VK_KHR_DEVICE_GROUP_EXTENSION_NAME; VkDeviceGroupDeviceCreateInfoKHR dg_ci = {.sType = VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO_KHR, .pNext = NULL, |
