Fix Android build of computecloth demo
The NDK compiler currently fails with:
```
examples/computecloth/computecloth.cpp:71:23: error: cannot
initialize a member subobject of type 'VkSemaphore' (aka 'unsigned
long long') with an rvalue of type 'nullptr_t'
VkSemaphore ready{ nullptr };
```
This commit is contained in:
parent
8668606a14
commit
4e48b38928
1 changed files with 3 additions and 3 deletions
|
|
@ -68,8 +68,8 @@ public:
|
||||||
vks::Buffer output;
|
vks::Buffer output;
|
||||||
} storageBuffers;
|
} storageBuffers;
|
||||||
struct Semaphores {
|
struct Semaphores {
|
||||||
VkSemaphore ready{ nullptr };
|
VkSemaphore ready{ 0L };
|
||||||
VkSemaphore complete{ nullptr };
|
VkSemaphore complete{ 0L };
|
||||||
} semaphores;
|
} semaphores;
|
||||||
vks::Buffer uniformBuffer;
|
vks::Buffer uniformBuffer;
|
||||||
VkQueue queue;
|
VkQueue queue;
|
||||||
|
|
@ -827,4 +827,4 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
VULKAN_EXAMPLE_MAIN()
|
VULKAN_EXAMPLE_MAIN()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue