From 83cdefc968d980e6e77b59c8c7ddf9f6872bbaed Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Tue, 8 Mar 2016 10:51:34 -0700 Subject: layers: Fix android build of draw_state Need to static cast NULL to VkFence in FENCE_NODE constructor. --- layers/draw_state.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(NULL)) {}; }; -- cgit v1.2.3