From b93ac27b56349238eaf8af208ad3b40749c3b292 Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Wed, 16 Mar 2016 14:12:47 -0600 Subject: layers: Remove global wsi_enabled in core_validation core_validation layer only needs wsi_enabled bool from devExts struct. --- layers/core_validation.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'layers/core_validation.cpp') diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index aeba8c8d..ea3fd528 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -108,8 +108,6 @@ struct layer_data { VkLayerInstanceDispatchTable *instance_dispatch_table; #if MTMERGE // MTMERGE - stuff pulled directly from MT - // MTMTODO : Should be able just use device_extensions.wsi_enabled instead - VkBool32 wsi_enabled; uint64_t currentFenceId; VkPhysicalDeviceProperties properties; unordered_map> bufferRanges, imageRanges; @@ -171,7 +169,7 @@ struct layer_data { layer_data() : report_data(nullptr), device_dispatch_table(nullptr), instance_dispatch_table(nullptr), #if MTMERGE - wsi_enabled(VK_FALSE), currentFenceId(1), + currentFenceId(1), #endif device_extensions(){}; }; -- cgit v1.2.3