aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Elliott <ian@lunarg.com>2015-09-15 12:14:41 -0600
committerIan Elliott <ian@lunarg.com>2015-09-15 12:14:41 -0600
commit03a5cfd0dfdd557633c707d8e3c479bc3c74e977 (patch)
treeb98bd6e21236a555548f7c6795ddf7f2fd226f30
parent1cb5bd60db3ca4f449f75bd935444fbcd4ead5de (diff)
downloadusermoji-03a5cfd0dfdd557633c707d8e3c479bc3c74e977.tar.xz
layers: Another CreateDevice fix (was using WSI instance extension name)
-rw-r--r--layers/object_track.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/object_track.h b/layers/object_track.h
index 09c2f96c..63febb2a 100644
--- a/layers/object_track.h
+++ b/layers/object_track.h
@@ -181,7 +181,7 @@ static void createDeviceRegisterExtensions(const VkDeviceCreateInfo* pCreateInfo
layer_data *my_device_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map);
my_device_data->wsi_enabled = false;
for (uint32_t i = 0; i < pCreateInfo->extensionCount; i++) {
- if (strcmp(pCreateInfo->ppEnabledExtensionNames[i], VK_EXT_KHR_SWAPCHAIN_EXTENSION_NAME) == 0)
+ if (strcmp(pCreateInfo->ppEnabledExtensionNames[i], VK_EXT_KHR_DEVICE_SWAPCHAIN_EXTENSION_NAME) == 0)
my_device_data->wsi_enabled = true;
if (strcmp(pCreateInfo->ppEnabledExtensionNames[i], "OBJTRACK_EXTENSIONS") == 0)