diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-03-08 10:51:34 -0700 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-03-08 10:51:34 -0700 |
| commit | 83cdefc968d980e6e77b59c8c7ddf9f6872bbaed (patch) | |
| tree | f75e20a9cb586ef944f8f80c913c8c58be664fc2 /layers | |
| parent | a3c30a57668994b068ac52457ad6c8bdfe5dc0db (diff) | |
| download | usermoji-83cdefc968d980e6e77b59c8c7ddf9f6872bbaed.tar.xz | |
layers: Fix android build of draw_state
Need to static cast NULL to VkFence in FENCE_NODE constructor.
Diffstat (limited to 'layers')
| -rw-r--r-- | layers/draw_state.h | 3 |
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)) {}; }; |
