From: Tobin Ehlis Date: Tue, 8 Mar 2016 17:51:34 +0000 (-0700) Subject: layers: Fix android build of draw_state X-Git-Tag: submit/tizen/20181227.054638~3634 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83cdefc968d980e6e77b59c8c7ddf9f6872bbaed;p=platform%2Fupstream%2FVulkan-Tools.git layers: Fix android build of draw_state Need to static cast NULL to VkFence in FENCE_NODE constructor. --- 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)) {}; };