From 22fd625405f193f79a5646a67f6f90001023bba5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 30 Jul 2015 13:22:15 -0700 Subject: Initialize VkDesciptorSet to VK_NULL_HANDLE --- layers/draw_state.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layers/draw_state.cpp') diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp index 44761194..d21dc60b 100644 --- a/layers/draw_state.cpp +++ b/layers/draw_state.cpp @@ -244,7 +244,7 @@ static uint32_t g_lastTouchedCBIndex = 0; static GLOBAL_CB_NODE* g_lastGlobalCB = NULL; static PIPELINE_NODE* g_lastBoundPipeline = NULL; static uint64_t g_lastBoundDynamicState[VK_NUM_STATE_BIND_POINT] = {0}; -static VkDescriptorSet g_lastBoundDescriptorSet = VkDescriptorSet(0); +static VkDescriptorSet g_lastBoundDescriptorSet = VK_NULL_HANDLE; #define MAX_BINDING 0xFFFFFFFF // Default vtxBinding value in CB Node to identify if no vtxBinding set //static DYNAMIC_STATE_NODE* g_pDynamicStateHead[VK_NUM_STATE_BIND_POINT] = {0}; -- cgit v1.2.3