projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3c30a5
)
layers: Fix android build of draw_state
author
Tobin Ehlis
<tobine@google.com>
Tue, 8 Mar 2016 17:51:34 +0000
(10:51 -0700)
committer
Tobin Ehlis
<tobine@google.com>
Tue, 8 Mar 2016 17:51:34 +0000
(10:51 -0700)
Need to static cast NULL to VkFence in FENCE_NODE constructor.
layers/draw_state.h
patch
|
blob
|
history
diff --git
a/layers/draw_state.h
b/layers/draw_state.h
index e00f81f3ea1fcaa27148f3fe1d6b0db10dc6bd36..aead70e98873822422e95de9c5a455f07bc8ae8e 100644
(file)
--- 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)) {};
};