aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layers/draw_state.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/layers/draw_state.h b/layers/draw_state.h
index e00f81f3..aead70e9 100644
--- a/layers/draw_state.h
+++ b/layers/draw_state.h
@@ -373,7 +373,8 @@ class FENCE_NODE : public BASE_NODE {
VkFence priorFence;
// Default constructor
- FENCE_NODE() : queue(NULL), needsSignaled(VK_FALSE), priorFence(NULL) {};
+ FENCE_NODE() : queue(NULL), needsSignaled(VK_FALSE),
+ priorFence(static_cast<VkFence>(NULL)) {};
};